Default Browser

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Chronos

    #1

    Default Browser

    How do I find out what the default browser is?

    thanks


  • Chronos

    #2
    Re: Default Browser

    I know....

    System.Diagnost ics.Process.Sta rt("http://yahoo.com");

    opens it but how can I get the exe path?

    "Chronos" <none@none.co m> wrote in message
    news:%23xsOMfnU DHA.736@TK2MSFT NGP09.phx.gbl.. .[color=blue]
    > How do I find out what the default browser is?
    >
    > thanks
    >
    >[/color]


    Comment

    • Mihai N.

      #3
      Re: Default Browser

      > System.Diagnost ics.Process.Sta rt("http://yahoo.com");[color=blue]
      > opens it but how can I get the exe path?[/color]

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

      From registry read the default value for
      HKEY_CLASSES_RO OT\http\shell\o pen\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

      Comment

      • Chronos

        #4
        Re: Default Browser

        thanks


        Comment

        Working...