2

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.

3
  • I found this [link] (codeproject.com/Articles/43491/…), Hope it helps Commented Apr 23, 2012 at 12:27
  • Did you ever managed to solve this as i have exactly same issue which i am struggling? Commented Sep 6, 2017 at 14:03
  • @DevelopmentIsMyPassion Unfortunately no I didn't find a way. Commented Jan 9, 2018 at 12:34

2 Answers 2

4

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?

Sign up to request clarification or add additional context in comments.

1 Comment

Yes I have tried that. The 'new' and 'existing' tab problem is solved, BUT the destination site has some problems with the WebBrowser Control which is out of my control. (for example so many popup windows are used in the site, and I get so many errors when I try to navigate and work with the site). That's why I think WebBrowser is not an option for me.
0

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#

1 Comment

Thanks for the reply. But I'm talking about a new TAB, not a new WINDOW.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.