Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to read Registry file

Status
Not open for further replies.

soniatektips

Programmer
Nov 27, 2000
3
0
0
TH
I want to read the registry file of win98 or windows NT to know the default browser installed on a machine like Internet Explorer or Netscape Communicator.
The purpose is that I want to open up a particular site on this default browser automatically through my VB6 application without exiting the application.
The VB program would open the browser through a shell command which requires the path of the executable file of the browser.
Kindly how can I read the path of the exe file of the browser from the registry file.
Would WINAPI32 be used for this purpose??
Kindly treat this as urgent..
 
Yes, you will need to use the Win32 API. No, you don't need to read the registry. Click here thread222-5014 and scroll to the last post. It contains an example of opening the default browser at a specific web site.

Good luck!
VCA.gif

Alt255@Vorpalcom.Intranets.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top