I'm a new programmer and am trying to launch a web browser from a windows application form. When running the code below I get an error message file not found message. Does anyone know why and how to fix this?
___________________________________________________
Private Sub OpenURL(ByVal URL As String)
System.Diagnostics.Process.Start("cmd/c ""start
End Sub
Private Sub btnGo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGo.Click
Dim url As String
Call OpenURL(URL)
_________________________________________________________
An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in system.dll
Additional information: The system cannot find the file specified
___________________________________________________
Private Sub OpenURL(ByVal URL As String)
System.Diagnostics.Process.Start("cmd/c ""start
End Sub
Private Sub btnGo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGo.Click
Dim url As String
Call OpenURL(URL)
_________________________________________________________
An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in system.dll
Additional information: The system cannot find the file specified