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.