473,406 Members | 2,954 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Default Browser

How do I find out what the default browser is?

thanks
Nov 15 '05 #1
3 7814
I know....

System.Diagnostics.Process.Start("http://yahoo.com");

opens it but how can I get the exe path?

"Chronos" <no**@none.com> wrote in message
news:%2***************@TK2MSFTNGP09.phx.gbl...
How do I find out what the default browser is?

thanks

Nov 15 '05 #2
> System.Diagnostics.Process.Start("http://yahoo.com");
opens it but how can I get the exe path?


Not documented, but I don't think this can change to soon:

From registry read the default value for
HKEY_CLASSES_ROOT\http\shell\open\command

This will give you the application handling the http protocol
(aka the browser).

If you try to retrieve the application associated to htm/html,
you may end with a HTML editor.

Mihai
Nov 15 '05 #3
thanks
Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

55
by: Haines Brown | last post by:
I've been setting font-size 1em; as the default in my style sheets. Until now, that seemed to be ok. But now I'm beginning to wonder. My aim is to have an easily readable, but not overly large...
88
by: Mike | last post by:
Is there a way to determine what a user's default email client is? I read a post from 3 years ago that said no. I guess I'm hoping something has come along since then.
8
by: Jerry Gaspard | last post by:
I'd like to know how to open a document in a default app. like for example if I wanted to open a .txt document I'd like my program open notepad if it is the default for a windows machine text...
4
by: Robert Scheer | last post by:
Hi. I know that I can change the default web browser for a single page, but is there any way to change the default web browser for the whole site? When I press the F5 key, I need to run my site...
5
by: Brian Shannon | last post by:
I have been having problems with IE 6 so I am temperarily using Mozilla. Does anyone know how to change the default browser that .NET studio opens when you are testing/compiling a project? I...
6
by: Darious Snell | last post by:
I need to be able to get the path to the users default browser from within my application. I am in a situation where I can't easily use System.Diagnostics.Process.Start to start their browser...
2
by: Raffi | last post by:
Hi, As far as I know, normally popup windows open in the default browser. Is there a way to make popups open in a specific browser (in my case Internet Explorer) when the default browser is a...
1
by: p8000 | last post by:
This browser seems to have so many problems. One more: I try to have this Fire browser (version 2.0.0.1) as Not default, but so far, without success. How can I have this browser as not default...
2
by: David | last post by:
Hi All: Here's what may be a confusing question. I have an application which has a basic help window that is attached to a Windows application. It uses IE objects to render html text. The user...
4
by: Duncan Jones | last post by:
I'm almost certain there is no easy answer to this question, but I'd thought I'd just check.... *Ignoring* for a second why I want to do this, is there any way to specify that an element in a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.