Mensaje
General information
Foro:
Visual FoxPro
Category:
Programación, sintáxis y comandos
Título:
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
ID de la conversación:
01450281
ID del mensaje:
01450281
Views:
106
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
Responder
Mapa
Ver