Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
App.path
Message
From
11/05/2000 16:40:03
 
 
To
11/05/2000 16:30:03
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00368785
Message ID:
00368807
Views:
25
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform