qadeer37
Well-known member
Sorry I wasn't sure what to write in question.
VB.NET:
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim someproc As Process
someproc = Process.Start("d:\vypress.msi")
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
'want this to done here.
someproc.CloseMainWindow()
End Sub
End Class
Simple?