Exit Running Application

  • Thread starter Thread starter IntraRELY
  • Start date Start date
I

IntraRELY

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
 
* "IntraRELY said:
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".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top