Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Openning a web site using Default Internet Explorer

Openning a web site using Default Internet Explorer

Scheduled Pinned Locked Moved C#
com
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    emran834
    wrote on last edited by
    #1

    Hello, I am aware of that I can open a website using the following snippet using MS IE, System.Diagnostics.Process.Start("iexplore", "http://www.google.com"); But I dont want to specify Internet Explorer, I want to open the link using any installed default website explorer of the user. Would anyone please give me an idea. Thanks

    S N 2 Replies Last reply
    0
    • E emran834

      Hello, I am aware of that I can open a website using the following snippet using MS IE, System.Diagnostics.Process.Start("iexplore", "http://www.google.com"); But I dont want to specify Internet Explorer, I want to open the link using any installed default website explorer of the user. Would anyone please give me an idea. Thanks

      S Offline
      S Offline
      Steve Maier
      wrote on last edited by
      #2

      In .NET 2.0 you can do this.... Help.ShowHelp(this, "http://www.google.com");

      Steve Maier, MCSD MCAD MCTS

      1 Reply Last reply
      0
      • E emran834

        Hello, I am aware of that I can open a website using the following snippet using MS IE, System.Diagnostics.Process.Start("iexplore", "http://www.google.com"); But I dont want to specify Internet Explorer, I want to open the link using any installed default website explorer of the user. Would anyone please give me an idea. Thanks

        N Offline
        N Offline
        Nader Elshehabi
        wrote on last edited by
        #3

        Hello You can also do that in .Net 1.0 and 1.1 frameworks. Simply don't specify your application:

        Process.Start("http://www.google.com.eg");

        This way you are telling the "Windows Explorer" to open this "Document" -whether it's a website, pdf, image, etc...-. Windows Explorer doesn't open anything by itslef, rather it opens the default viewer associated with this type of "Document". In our case it will open the default web browser. BTW: I use FireFox. And it works!

        Regards:rose:

        E 1 Reply Last reply
        0
        • N Nader Elshehabi

          Hello You can also do that in .Net 1.0 and 1.1 frameworks. Simply don't specify your application:

          Process.Start("http://www.google.com.eg");

          This way you are telling the "Windows Explorer" to open this "Document" -whether it's a website, pdf, image, etc...-. Windows Explorer doesn't open anything by itslef, rather it opens the default viewer associated with this type of "Document". In our case it will open the default web browser. BTW: I use FireFox. And it works!

          Regards:rose:

          E Offline
          E Offline
          emran834
          wrote on last edited by
          #4

          Hi Nader, Thanks, IT REALLY WORKS.... :)

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups