Sorin,
Using QUIT in the runtime does indeed display that wait window that Dennis posted. The simplest way to avoid it is to not use the QUIT command.
QUIT sucks during development anyway because it'll dump you out of VFP when you are testing your app too.
I'm AR enough to prefer having my code provide all of the orderly closing and shutdown of the app. Then all you need to do is return from the main prg. In dev time you come back to the command window and the user at runtime gets back to the O/S.
>Dennis is talking about run-time in his initial message. I always thought that QUIT is the safest way to clean-up and close the application. I am surpised to learn that it may not be. Would you please share the info you have on what QUIT is doing (or not doing properly)?
>BTW, my suspicion after reading Dennis' initial post, was that there is an ON SHUTDOWN CANCEL statement active which cancels the procedures on QUIT.