Default Browser

  • Thread starter Thread starter Chronos
  • Start date Start date
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top