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".
 
Back
Top