Solved

how to find path of browsers

Posted on 2013-11-15
2
401 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

752 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