Solved

how to find path of browsers

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Class Library Dynamics For Connectstring Information 2 23
Error in page 3 46
SQL Exceptions 3 39
Displaying a web form as a modal popup dialog box. 4 24
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 …
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

867 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now