all groups > vb.net > march 2004 >
You're in the

vb.net

group:

Terminate Running Program


Re: Terminate Running Program Cor
3/9/2004 5:07:02 PM
vb.net:
Hi Alan,

I never use this method, but this is written about it.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformsapplicationclassexittopic.asp

I myself just use me.close on the main form.

Cor

Re: Terminate Running Program hirf-spam-me-here NO[at]SPAM gmx.at
3/9/2004 8:09:15 PM
* "Alan" <sanheialan@hotmail.com> scripsit:
[quoted text, click to view]

Set a Boolean variable which is checked by the procedure. If the
varaible is set to 'True', the procedure should exit.

--
Herfried K. Wagner [MVP]
Terminate Running Program Alan
3/9/2004 10:40:25 PM
Dear all,

I use VB.net and a form contain a Button called "START" and a button called
"QUIT".

After I press the START button, I have a procedure to run, it may run lots
of time. I want to press the QUIT button to terminate all the running
processes. However, I use APPLICATION.EXIT. The program still to run in the
background.

How can I really terminate the program

Please kindly advise

Thanks

AddThis Social Bookmark Button