Thanks for your reply.
I have doevents through out the code for items like the button that need to get fired. however when you click the exit button I want to exit the code, I click the button, inside the code I have the public variables set to nothing, which in my understanding means the class_terminate should fire, which it does not. It does go right back to the last place of execution, the point is I don't want it to do so I wish to end the program. I can use the ugly END to kill it but that is not the right way to do it, I am trying to find out how to kill it gracefully.
|