Private Sub NavigateWebURL(ByVal URL As String, Optional browser As String = "default") If Not (browser = "default") Then Try '// try set browser if there was an error (browser not installed) Process.Start(browser, URL) Catch ex As Exception '// use default browser Process.Start(URL) End Try Else '// use default browser Process.Start(URL) End If End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)