Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File Not Found when exiting exe

Status
Not open for further replies.

spuppett

Programmer
Jan 25, 2003
48
0
0
US
I have an app that was made in 6.0. For some reason now, when the app gets closed, I get "File Not Found". The only code that gets run on File->Exit is CLEAR EVENTS. I've tried rebuilding the app about 10 times and always the same thing.

The rest of the app seems to run fine.

Any ideas?
 
Have you tried stepping through the code in the Debugger to see what's actually triggering the error?

Tamar
 
Hi SPuppett,

Check your ON SHUTDOWN statement. If this contains a refernce to a program or function (e.g. ON SHUTDOWN TO MyFunc), then that might be what's causing the error.

If so, the solution is to execute ON SHUTDOWN by itself when you are ready to quit.

Mike


__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top