Solved

default browser

Posted on 1999-01-10
7
256 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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
maven archtype selection in eclipse 1 57
VBA "SendKeys" Syntax for Multiple Keystrokes 7 117
NotAlone Challenge 20 84
Sed question 2 102
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

831 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