|
-
Nov 11th, 2009, 11:56 PM
#1
Thread Starter
Addicted Member
End program during input validation
Gentlemen,
I have a question that I can't seem to find the answer for through google or me lil VB book here. I am aware that if you want to close a form you have me.close but what if you want a program to terminate? Given situation:
You have failed to give me "Staring Point".
If you don't give me "Staring Point" the program will terminate.
I'd like to terminate the entire program based on dialogresult. Do I just kill my main form or is there a line I can put in there to exit program?
Thanks again for all your help.
Abrium
Asking the beginners questions so you don't have to!
If by chance hell actually froze over and I some how helped you... Please rate.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|