how to find path of browsers

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
LVL 1
rafaelrglAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Alexandre SimõesConnect With a Mentor Manager / Technology SpecialistCommented:
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
 
rafaelrglAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.