Terminate the execution

retkehing

Well-known member
Joined
Feb 5, 2006
Messages
153
Programming Experience
Beginner
I need help on the command of termination of the execution when the application is processing. After the termination, all of the setting will be default e.g form_load setting.
 
Not sure exactly what you ask for, but here is a funny intrepretation:
VB.NET:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) _
Handles Button1.Click
  Me.Hide()
  Process.Start(Application.ExecutablePath)
  Application.Exit()
End Sub
 
Back
Top