Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File Does Not Exist on launch of .exe
Message
From
24/09/1998 23:52:42
 
 
To
24/09/1998 19:49:31
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00140635
Message ID:
00140692
Views:
27
>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.
>
>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
>I've tried removing these lines, and it still reports the same error.
>
>Thanks.

This generic error really gets under my skin. What would be so hard about telling us WHICH file does not exist?

anyway-
The fact that the program runs on your machine gives you a starting point. Try temprarily renaming the development and vfp home directories and running the file. If the problem comes to your machine then you know where to begin. Move stuff around and rename directories until you have pegged exactly what file it is looking for. Strange....
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform