Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how to find path of browsers

Posted on 2013-11-15
2
Medium Priority
?
414 Views
Last Modified: 2013-11-16
Hi, i am building one program here and i need to find the .exe path of the browsers installed on the machine. How can i find these paths. I need help on this.

I am using Vb.net
0
Comment
Question by:rafaelrgl
2 Comments
 
LVL 1

Author Comment

by:rafaelrgl
ID: 39651010
I found this key on registry call

HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet

Is this reliable to get the browsers that are installed on the machine and also get the .exe path.
0
 
LVL 30

Accepted Solution

by:
Alexandre Simões earned 2000 total points
ID: 39651059
Well, my best guess would be to use the Registry.

For installer browsers you have this path:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths
Inside you'll find Google and Opera and Firefox folders, pick the Path key value inside.

Use this to read from registry:
Registry.GetValue(keyName, valueName, defaultValue)

For internet explorer I think the best way is to use:
%PROGRAMFILES%\Internet Explorer
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

772 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