Solved

how to find path of browsers

Posted on 2013-11-15
2
397 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 500 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

770 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