cjk

ok i am making a program and i want to be able to click a button and open an installed program, such as Internet Explorer 7.

So, say there is button1. If I click it, i want Internet Explorer 7 to open. how can i do this




Re: Visual Basic Express Edition clicking a button to open an installed program

nmadd

With Process.Start()
http://msdn2.microsoft.com/en-us/library/system.diagnostics.process.start(vs.80).aspx

Code Snippet

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
System.Diagnostics.Process.Start("IExplore.exe")
End Sub