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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

newbie question 2

Status
Not open for further replies.

luceze

Programmer
Apr 26, 2001
842
US
How do you make an vb application close?
 
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.'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top