A VB program ends when all its processes are stopped. You can force it with the End Statement in the same way that you can stop a CD player with a sledgehammer. The End statement just stops - it doesn't do any tidying up, no unload, or query_unload events are fired, so you get no chances to tidy up.
in general just close your open forms, then all your tidy-up and data saves (which you wrote in your query_unload and unload events will get done before the program tidily ends
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'People who live in windowed environments shouldn't cast pointers.'
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.