Walter Meester
HoogkarspelNetherlands
General information
Category:
Coding, syntax & commands
Hi Elgin,
>I have compiled an EXE of my App and created a Setup disk using the Setup Wizard. I included the VFP Runtime files when running the Wizard. The setup defaults to installing into c:\program files\labnav. I think I see the Vfp6r.dll and other runtime files getting installed to the Windows\System directory. In code, I need to determine the folder from where my EXE is running. I know Sys(2004) returns the folder of the Runtime files, but how do I determine where my program is launched from? What I'm trying to do is delete some temporary tables and TXT files that get created in the lauch directory.
If seen the SYS(16) function fail in some circumstances (building DCOM exe), _VFP.servername OTOH, always give you the fullpath of the executable running.
Walter,
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only