Re: calling the user's default browser



Tom de Neef wrote:
I use
ShellExecute(0,nil,helpURL,nil,nil,SW_SHOW);
when the user clicks for web help.
And I thought that that would result in calling the default browser.

But I get this remark from a user:
"It tries to open InternetExplorer but I use Firefox. Previously I used IE. I have tried to check that IE should not be activated in my PC by any file."

Is there a better way for me to stay in line with the user's preferences?
TIA
Tom

I have both Firefox and IE on my computer (Win2k), Firefox is default browser and doing:
ShellExecute(0,nil,'C:/citect/User_caloundra/CSV_Example/HELP.htm',nil,nil,SW_SHOW);
opens Firefox every time... I can have Firefox closed and IE open, still calling the above line will open Firefox.

I'd made sure Firefox really is a default browser on your user's computer.

Tom
.



Relevant Pages

  • Re: calling the users default browser
    ... And I thought that that would result in calling the default browser. ... "It tries to open InternetExplorer but I use Firefox. ... opens Firefox every time... ...
    (comp.lang.pascal.delphi.misc)
  • Re: webbrowser module bug?
    ... It opens firefox as expected, ... The quoting does happen in the webbrowser module. ... It looks like the problem started when I told firefox to make itself the default browser. ...
    (comp.lang.python)
  • Re: Why all the VITROIL and HATRED towards Internet Explorer
    ... does not work with Firefox, and I was catching HELL for that. ... accepted browser does. ... We start with a reloaded image, so that the test station is ... Calling an illegal alien an "undocumented worker" is like calling a ...
    (comp.security.firewalls)
  • what is the difference between argName and self.argName
    ... But the browser will ... skip it if I use that variable by calling "self.argName". ... I am using FireFox. ...
    (comp.lang.javascript)
  • Re: IE launching when Firefox is default browser
    ... After making FireFox my default ... went to the Links folder on my ... default browser via the Control Panel>Add/Remove Programs>Set Program Access ... Replies are posted only to the newsgroup for the benefit or other readers. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)