Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP exe Location Determination
Message
From
06/08/2014 15:07:53
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP3
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01605250
Message ID:
01605253
Views:
78
Likes (1)
>Hi Gang!
>
>Question.....
>
>Given a FoxPro EXE that is located in a folder somewhere..... could be ANYWHERE on the network.
>
>Any built in fuction or home made procedure that can give me the DRIVE (or VOLUME) and the PATH to where the EXE is located, when it is running?
>
>The EXE can be run from some other FoxPro EXE, so it will NOT be started from a Windows Shortcut. It should be able to be tested by double-clicking on the EXE, wherever it is located.
>
>
>Thanks

justpath(sys(16,0)) will give you the path if it is running as an EXE and not a COM object.

Hank
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform