Solved

default browser

Posted on 1999-01-10
7
257 Views
Last Modified: 2013-11-20
hi all
how to find out the default browser from the system
thanx in advance
0
Comment
Question by:softfgk
  • 4
  • 2
7 Comments
 
LVL 2

Expert Comment

by:AdrianBrown
ID: 1327468
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
 

Author Comment

by:softfgk
ID: 1327469
hi but there is not a key named "http" under the HKEY_CLASSES_ROOT.
I AM USING WIN 95
0
 
LVL 2

Expert Comment

by:AdrianBrown
ID: 1327470
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
Industry Leaders: 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!

 

Author Comment

by:softfgk
ID: 1327471
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
 

Author Comment

by:softfgk
ID: 1327472
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
 

Accepted Solution

by:
DOsinga earned 30 total points
ID: 1327473
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
 

Author Comment

by:softfgk
ID: 1327474
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

Industry Leaders: 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!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question