M
Mr. B
VB.net 2003 (standard)
In my application, within FORM1_LOAD, I check for various things (ie valide
user names, files, etc.). What I want to do is upon an event such as "No
Valide User Name Found" to pop up a warning message about the event and then
close the application.
I can do everything I want with the exception of a clean shut down during the
Form1_Load.
Back in VB6, I did this by:
Unload Me
Exit Sub
How do I do this in VB.net? I tried "Unload.Me" but it returns an error as
the application continues to try to run.
I'm sure it's a simple thing... but I've not found any reference to this in
all my books.
Regards,
Bruce
In my application, within FORM1_LOAD, I check for various things (ie valide
user names, files, etc.). What I want to do is upon an event such as "No
Valide User Name Found" to pop up a warning message about the event and then
close the application.
I can do everything I want with the exception of a clean shut down during the
Form1_Load.
Back in VB6, I did this by:
Unload Me
Exit Sub
How do I do this in VB.net? I tried "Unload.Me" but it returns an error as
the application continues to try to run.
I'm sure it's a simple thing... but I've not found any reference to this in
all my books.
Regards,
Bruce