Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Launching a url in FF programmatically

73 views
Skip to first unread message

Dennis

unread,
Mar 26, 2012, 9:45:05 AM3/26/12
to
A VB.Net program is launching a url in FF (my default browser)
programmatically...

System.Diagnostics.Process.Start(_url)

Every time I hit this line of code it either opens the URL in a new FF
window or tab, depending on how my FF options are set. It does this even
if the exact same URL has been previously opened in FF.

System.Diagnostics.Process.Start("http://www.google.com")
System.Diagnostics.Process.Start("http://www.google.com")

... opens two FF windows/tabs.

It pretty much behaves the same as when, in Windows Explorer, you
double-click on the same .htm file twice in a row ... two open FF
windows/tabs.

Is there anyway to tell FF to use the same open window/tab? Or the last
opened window/tab? I don't know if possibly this is communicated to FF
via DDE and I need to change the DDE message sent to the FF server?

--

Dennis

»Q«

unread,
Mar 26, 2012, 5:17:30 PM3/26/12
to
On Mon, 26 Mar 2012 09:45:05 -0400
Dennis <nob...@nowhere.invalid> wrote:

[about urls passed to Firefox from an external program]
> Is there anyway to tell FF to use the same open window/tab? Or the
> last opened window/tab? I don't know if possibly this is communicated
> to FF via DDE and I need to change the DDE message sent to the FF
> server?

Try using about:config to change the value of
browser.link.open_external to 1. I haven't tested to see if this still
works, but it used to.

Dennis

unread,
Mar 26, 2012, 7:37:25 PM3/26/12
to
On Mon, 26 Mar 2012 16:17:30 -0500, »Q« <box...@gmx.net> opined:
This page...

http://kb.mozillazine.org/Browser.link.open_external#Has_an_effect_in

...seems to indicate that it was removed in 3.5.

I did try it in 3.6 and adding browser.link.open_external=1 in
about:config had no effect.

Thanks anyway.

--

Dennis

»Q«

unread,
Mar 28, 2012, 7:48:39 AM3/28/12
to
Sorry it doesn't work. But there are two extensions linked at the
bottom of the page to restore the setting's effect; maybe one of them
would help you.


Dennis

unread,
Mar 28, 2012, 8:16:46 AM3/28/12
to
On Wed, 28 Mar 2012 06:48:39 -0500, »Q« <box...@gmx.net> opined:

>Sorry it doesn't work. But there are two extensions linked at the
>bottom of the page to restore the setting's effect; maybe one of them
>would help you.

The first one didn't work. When set to '1' it opened every external link
in a new browser window.

But the second one worked as advertised.

Thanks for pointing those add-ons out!

--

Dennis
0 new messages