Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
App.path
Message
De
11/05/2000 16:40:03
 
 
À
11/05/2000 16:30:03
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:
00368807
Vues:
24
App.path in VB returns the path of the directory where your EXE, or project files, reside.

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?
Kenneth Gilbert Jr, MCP
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform