Hi ramco1917,
The process for different browser are as follow.
Microsoft Edge - msedge
Internet Explorer - iexplore
Chrome - chrome
Firefox - firefox
Check the example.
Namespace
C#
using System.Diagnostics;
VB.Net
Imports System.Diagnostics
Code
C#
private void OnSubmit(object sender, EventArgs e)
{
Start(txtBrowser.Text, "https://www.youtube.com/watch?v=VX7VOK8DTKc");
}
public static void Start(string processName, string url)
{
Process.Start(string.Format("{0}.exe", processName), url);
}
VB.Net
Private Sub OnSubmit(ByVal sender As Object, ByVal e As EventArgs) Handles btnRun.Click
Start(txtBrowser.Text, "https://www.youtube.com/watch?v=VX7VOK8DTKc")
End Sub
Public Shared Sub Start(ByVal processName As String, ByVal url As String)
Process.Start(String.Format("{0}.exe", processName), url)
End Sub