Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
App.path
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00368785
Message ID:
00368816
Vues:
18
Try this:
sPath = justpath(sys(16, 0))
>For example in VB:
>--
>sPath = App.path & "\Mytable.dbf"
>
>*sPath could equal something like "C:\Program Files\MyProgram\Mytable.dbf" in VB
>--
>VB would return to you the EXE path only, then you could add on any file to the end if you wanted. In this case, I was wanting to get to 'MyTable.dbf' and use it.
>
>Useful if you have files stocked in your EXE directory you would like to access.
>Is it possible to do this in VFP?
Peter Franz
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform