Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File Does Not Exist on launch of .exe
Message
From
26/09/1998 20:29:36
 
 
To
25/09/1998 11:47:25
Bruce Gilmour
Cal-Mour Consultants
Calgary, Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00140635
Message ID:
00141172
Views:
49
Thanks for the feedback, Bruce. As it turned out, it was the "SET HELP TO" problem. I found that I had this line in the init of my main form. Taking it out got rid of the problem.


>>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.
>
>I had the same problem and it was the SET HELP TO If you are using it, then it is looking for a file called foxhelp.hlp. You might want to try SET HELP OFF then it won't look for a help file. That's my WAG. HTH
Wesley T Kozeny
Wesley T Kozeny LC
1303 Red Oak Plantation Drive
Ballwin MO 63021
314-991-0255 phone
314-991-6755 fax
wkozeny@wkozeny.com
Previous
Reply
Map
View

Click here to load this message in the networking platform