>Thanks for the idea. It would work if the app was built normally. It's VFP6.0 app that calls Fox 2.6 screens and does not seem to respond to normal cleanup procedures. When I put a Quit in the Timer event, I got the error "Unable to quit FoxPro".
Do you use an ON SHUTDOWN procedure? The on shutdown procedure should execute any cleanup code and then clear events to allow the application to do an orderly shutdown and avoid the Cannot Quit Foxpro message. Check out "How to avoid the Cannot Quit Visual FoxPro message" at
http://www.ml-consult.demon.co.uk/foxst-07.htm