I want the click event for a button on a Windows form to load/run an .exe file that is in a folder within the project. Can someone help me with this
Second question ... this winodws app includes a Web Browser control and I would prefer to launch the .exe file with the click of a link on an html page that is being displayed ... but I don't think that is possible. True
Thanks.

Launch .exe Program with Button Click
Walter Poupore - MSFT
This is the way to execute a exe
System.Diagnostics.Process.Start(exe with full path.)
i donot think that you want to do is really possiable.
mamo
is the link in the browser changes the url. then you may do this using the BeforeNavigate event of the user browse and checking the locationURL property of the browser,.
Beckwith
Hi,maybe you can do it like this:
Private Function StartFile(ByVal strFile As String) As Boolean
Try
If System.IO.File.Exists(strFile) = True Then
Dim startInfo As New ProcessStartInfo(strFile)
Process.Start(startInfo)
Return True
Else
Return False
End If
Catch ex As Exception
Return False
End Try
End Function