2
votes

In a WinForms application, I have a form in which I have a couple of link labels. When the user clicks on any of the links I want to open a page in an EXISTING browser TAB that my own application has opened. (Of course except for the first time that it should open a new tab) My problem: Process.Start("My Url"); opens a new tab all the time. Is there any way that I can tell the browser to stop opening new tabs?

Thanks before.

2
I found this [link] (codeproject.com/Articles/43491/…), Hope it helpsAkanksha Gaur
Did you ever managed to solve this as i have exactly same issue which i am struggling?DevelopmentIsMyPassion
@DevelopmentIsMyPassion Unfortunately no I didn't find a way.Tina

2 Answers

4
votes

That behaviour is defined on a per-browser basis, and is a user setting that you shouldn't attempt to meddle with. If you do require this level of control, have you considered hosting a browser control within your application instead?

0
votes

If you are using the INternetexplorer you can work with ShellWindows Example and description: Launch a URL in a tab in an existing IE window from C#