MyApp stays running and is visible in the Ctrl+Alt+Del Close program box even after the user closes the App with the close box on the main form. How do I get the app to clear itself from the memory after it closes????
also make sure your timers are off.. and you dont have an procedures running or else this will also prevent the program from fully unloading. in the begining man created code.
in the end code will create man.
clones are coming only matter of time.
examples?
make sure you check your for i's and if statements.. make sure you are closing them correctly... make sure your DoEvents arent interfering and stuff and your loops are stopped little htings can cause big problems hehe gl! in the begining man created code.
in the end code will create man.
clones are coming only matter of time.
examples?
I'm having the same problem of not being able to clear my VB application from memory when the user clicks on the "X" at the top right corner of the Windows bar.
Is there a way to gain control and gracefully exit a VB application when the user decides to terminate it with the Windows "X" box at the top of the screen instead of using the applications "Exit" button.
The X box will still trigger both QueryUnload and Unload events. Actually everything that shuts down your application will cause those events, assuming you have a form open. Well there is one thing that won't trigger those events.....If your machine blows up. If you select end process from task manager Windows sends a shutdown message to your app. If your application is hung then you'll get the "Wait or End Task" dialog but windows DID try to notify the app that its going to be shut down.
also after you turn off all of the timers.. and before you put unload me... just put End see if that helps... it helped my program -shrug in the begining man created code.
in the end code will create man.
clones are coming only matter of time.
examples?
also after you turn off all of the timers.. and before you put unload me... just put End see if that helps... it helped my program -shrug (in the Form_QueryUnload part of course!!! in the begining man created code.
in the end code will create man.
clones are coming only matter of time.
examples?
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.