How do you terminate from outside another procedure

NicoVB

Centurion
Joined
Jan 2, 2002
Messages
160
Location
Belgium
How do you terminate from outside another procedure that is running while you have set Application.DoEvents() ???
 
Have you tried Application.Exit()? It will completely end your application.

If this is a game with a DoEvents in a loop, you should provide a cleaner solution. Meaning, when the user chooses to exit, set a variable, maybe bExit, to True. Exit your main loop if the variable is true.

-Nerseus
 
Back
Top