Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining the Drive and Folder of executing program
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01450281
Message ID:
01450283
Views:
76
This message has been marked as a message which has helped to the initial question of the thread.
Get this info from _VFP.ServerName
=messagebox(justpath(_VFP.ServerName))
>Hi Gang!
>
>question....
>
>I have created a standalone VFP EXE to run (or be called) from inside and outside of the MAIN Exectuable.
>
>When the standalone runs, I would like to be able to determine the Drive and Folder it is located in, when it is started.
>
>The catch is, the user may call it from some other drive and folder OTHER than where the standalone is located.
>
>For example...
>
>they are focused on G:\POS and the standalone is on K:\POSSHARE\
>
>So, if they call it from some other program from the G:\POS folder, how do I get reported back to the standaone that it is on K:\POSSHARE, instead of G:\POS or some other location?
>
>Thanks!
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform