| View previous topic :: View next topic |
| Author |
Message |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Thu Sep 09, 2004 11:20 am Post subject: Problem with Firefox as default browser |
|
|
I have just installed Mozilla Firefox and set it as my default browser.
I find that if you open a URL using the command e.g.:
| Code: | | shell open,http://www.tech-pro.net/ |
then I receive an error message from Windows that it cannot find the resource, although the page does open in the browser.
My non-VDS programs that open a web page have the same problem? Has anyone else found this? _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Thu Sep 09, 2004 7:47 pm Post subject: |
|
|
I have the same problem in XP, but did not have that happen in WinME. _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
| Back to top |
|
 |
SnarlingSheep Professional Member


Joined: 13 Mar 2001 Posts: 759 Location: Michigan
|
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Fri Sep 10, 2004 7:55 am Post subject: |
|
|
Thanks. That's a relief! _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
GeoTrail Valued Contributor


Joined: 18 Feb 2003 Posts: 572 Location: Bergen, Norway
|
Posted: Thu Nov 18, 2004 11:42 am Post subject: |
|
|
I tried the same using shell open and it's working here.
I also have Firefox 1.0 as default browser and SP2 on WinXP. _________________
 |
|
| Back to top |
|
 |
GeoTrail Valued Contributor


Joined: 18 Feb 2003 Posts: 572 Location: Bergen, Norway
|
Posted: Fri Nov 19, 2004 9:26 am Post subject: |
|
|
To make sure the default browser is launched you can do this | Code: | %T = @regread(HLM, SOFTWARE\Classes\http\shell\open\command, "")
%T = @SUBSTR(%T,1,@fsub(@len(%T),10))
run %T http://www.geotrail-corp.com/ |
 _________________
 |
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Fri Nov 19, 2004 5:02 pm Post subject: |
|
|
That seems to me like a longwinded way of getting the same result as the example I typed. If my command won't work, yours won't either, because the registry value you read is the thing that's incorrect. _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
GeoTrail Valued Contributor


Joined: 18 Feb 2003 Posts: 572 Location: Bergen, Norway
|
Posted: Fri Nov 19, 2004 5:10 pm Post subject: |
|
|
Maybe so, but if you test it you will se that there is a difference.
If you are using Opera or Firefox and you have set the browser to open urls from outside the browser into new tabs it will do so. And if you use IE, it will open the url in a new window instead of in the current IE window.
When you are using the shell command in IE forexample and have a browser window open, it will open up in the last active window. I used to do this in a program I made some time back and people didn't like that. So I did it the way shown above and all seemed happy.
Anyways, just a suggestion  _________________
 |
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Fri Nov 19, 2004 5:38 pm Post subject: |
|
|
My default browser is Firefox and it opens a new window whichever way you do it. _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
GeoTrail Valued Contributor


Joined: 18 Feb 2003 Posts: 572 Location: Bergen, Norway
|
Posted: Fri Nov 19, 2004 6:32 pm Post subject: |
|
|
Yes, but you can set it to open new urls in a new tab or window aswell. You cannot do that with IE. _________________
 |
|
| Back to top |
|
 |
|