By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,534 Members | 910 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,534 IT Pros & Developers. It's quick & easy.

Exit Running Application

P: n/a
I am using the following Try statement. I want to exit the application and
cease all processes. I am not sure how to do this.

TIA,

Steve

Try
' Downloads the file
myWebClient.DownloadFile(checksSignatureResource, checksSignatureLocalFile)
Catch ex As System.Net.WebException
MsgBox("Unexpected Error occurred with Check Signature Image from URL: " &
ex.Message.ToString())
' TERMINATE ALL APP PROCESSING
End Try
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
* "IntraRELY" <In*******@yahoo.com> scripsit:
I am using the following Try statement. I want to exit the application and
cease all processes. I am not sure how to do this.


Just tell all "processes" in your application to stop, for example by
setting a Boolean variable to 'True' and checking the variable in the
"processes".

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.