Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 275
  • Last Modified:

default browser

hi all
how to find out the default browser from the system
thanx in advance
0
softfgk
Asked:
softfgk
  • 4
  • 2
1 Solution
 
AdrianBrownCommented:
I think you will find it is kept in the registry under
HKEY_CLASSES_ROOT\HTTP\shell\open\command\
its the default key

Hope this helps
0
 
softfgkAuthor Commented:
hi but there is not a key named "http" under the HKEY_CLASSES_ROOT.
I AM USING WIN 95
0
 
AdrianBrownCommented:
Hmm im under 95 as well - the easiest way to find out is, if you are using internet explorer, is to do a registery search for iexplore.exe
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
softfgkAuthor Commented:
hi
let me put it more clear
thing is i have netscape and explore installed in my system....
and the paths for these are listed under

hklm\software\microsoft\windows\current version\app paths

but what i need is to find out which is the default browser
and i am sure that there is no key under hkey_classes_root named "http" or "htm" or
"html" in windows 95 .At least  for me it is not showing.
Please provide some more help........
0
 
softfgkAuthor Commented:
Comment
      From: softfgk
                                                       Date: Monday, January 11 1999 - 10:34PM PST

      hi
      let me put it more clear
      thing is i have netscape and explore installed in my system....
      and the paths for these are listed under

      hklm\software\microsoft\windows\current version\app paths

      but what i need is to find out which is the default browser
      and i am sure that there is no key under hkey_classes_root named "http" or "htm" or
      "html" in windows 95 .At least  for me it is not showing.
      Please provide some more help
0
 
DOsingaCommented:
Try the FindExecutable API function. You pass a path to a document, make this an .htm file. You'll get a null terminated string pointing at the executable that normally would start if you would you pass the document to ShellExecute. This would be your default browser.
0
 
softfgkAuthor Commented:
hi
that did work out ..
thanks very much.....but why this thing alone is different from
other types which are listed under hkeyclassesroot?????

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now