Also, having mentioned before about the use of msgbox, are you actually going to convert the code into .NET, just noticing theres a huge amount of legacy VB code just within this event alone!
Isn't the else going to stop it if you click "yes" because that it what it is doing.
When it runs it, the main screen is disapearing but the program remains running.
-------
I just changed it so that the "Exit Sub" is under the e.cancel, not under the else. It works now.
For the VB stuff, when i get a chance and feel like it i will change it over. Not that important at the moment. All the new stuff that I have been adding is mostly in .NET anyway (except for the message boxes, didn't know about the other way ). It is just all the old stuff that is different.
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.