Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File Does Not Exist -Error launching .exe on client mach
Message
From
24/09/1998 20:27:37
 
 
To
24/09/1998 07:27:09
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00140285
Message ID:
00140639
Views:
18
>I created a very simple application, compiled it into an .exe for distribution and it works fine on the development machine. When installed on various client machines, the error "File Does Not Exist" occurs when the .exe is launched. If you choose 'IGNORE' the .exe launches and the application seems to run fine. I have checked, and checked again several times and am confident that all the necessary files are being included in the project.
>

More than likely the path to the executable contains a space; I've run into problems starting some VFP executables when installed to UNCs containing a space either in the machinename or sharename, run from a directory other than the one that contains the executable file. In my case, using a mapped drive letter rather than the UNC in the command line of shortcut that starts the executable seems to get around the problem.

>Questions:
>1. Is it possible to get a reference to the specific file that purports not to exist, rather than the general error message?
>
>2. The compile of the exe did not report errors, so how can a file necessary to the project not be included at runtime?
>
>3. The closest reference I saw on Microsoft Tech Support site was if you issue a SET HELP TO in your clean up code, it causes the error when the exe closes. My error occurs at the beginning. The only code in the .prg(set main) that calls the primary form for the app is:
>
>CLOSE DATABASES
>RELEASE ALL
>CLEAR ALL
>Could these references cause the 'File Does Not Exist' Error?
>
>Thanks.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform