Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining the Drive and Folder of executing program
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Determining the Drive and Folder of executing program
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:
01450281
Views:
102
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!
Tommy Tillman A+ NetWork+ MCP
Next
Reply
Map
View

Click here to load this message in the networking platform