Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
App.path
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00368785
Message ID:
00368816
Views:
19
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
Previous
Reply
Map
View

Click here to load this message in the networking platform