For Internet Explorer, you can do this using the SHDocVw assembly.
Instead of using process.start, just create an instance of SHDocVw.InternetExplorer and use it to navigate in the same browser whenever you want. Here is a simple example.
private SHDocVw.InternetExplorer IE; private void Form1_Load(object sender, EventArgs e) { IE = new SHDocVw.InternetExplorer(); IE.Navigate("http://stackoverflow.com/"); IE.Visible = true; } private void button1_Click(object sender, EventArgs e) { IE.Navigate("http://google.com/"); }
If you specifically want to use Process.start, for Internet Explorer you can iterate through SHDocVw.ShellWindows to find the Internet Explorer that you want to use for navigation.
foreach (SHDocVw.InternetExplorer IE in new SHDocVw.ShellWindows()) { if (IE.FullName.ToLower.Contains("iexplore") & IE.LocationURL.ToLower.Contains("someurl")) { IE.Navigate("http://google.com/"); } }
source share