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. How to acess Website from windows Forms

How to acess Website from windows Forms

Scheduled Pinned Locked Moved C#
winformstutorial
5 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.
  • R Offline
    R Offline
    Rahul83
    wrote on last edited by
    #1

    Hi friends.. I have designed one windows application with one button control on it..I want to open one new Internet browser window with some url on click of that button.. regards, Rahul

    T 1 Reply Last reply
    0
    • R Rahul83

      Hi friends.. I have designed one windows application with one button control on it..I want to open one new Internet browser window with some url on click of that button.. regards, Rahul

      T Offline
      T Offline
      Tarakeshwar Reddy
      wrote on last edited by
      #2

      To open in IE System.Diagnostics.Process.Start("iexplore","http://www.codeproject.com/"); To open in the default browser use System.Diagnostics.Process.Start("http://www.codeproject.com/");

      Last modified: 59mins after originally posted --

      R M 2 Replies Last reply
      0
      • T Tarakeshwar Reddy

        To open in IE System.Diagnostics.Process.Start("iexplore","http://www.codeproject.com/"); To open in the default browser use System.Diagnostics.Process.Start("http://www.codeproject.com/");

        Last modified: 59mins after originally posted --

        R Offline
        R Offline
        Rahul83
        wrote on last edited by
        #3

        Thanks a lots friend..

        1 Reply Last reply
        0
        • T Tarakeshwar Reddy

          To open in IE System.Diagnostics.Process.Start("iexplore","http://www.codeproject.com/"); To open in the default browser use System.Diagnostics.Process.Start("http://www.codeproject.com/");

          Last modified: 59mins after originally posted --

          M Offline
          M Offline
          Manoj Kumar Rai
          wrote on last edited by
          #4

          We need to provided the full path of the IEXPLORER.EXE as 1st parameter. like System.Diagnostics.Process.Start(@"C:\Program Files\Internet Explorer\IEXPLORE.EXE", @"http://www.yahoo.com");

          Manoj Never Gives up

          T 1 Reply Last reply
          0
          • M Manoj Kumar Rai

            We need to provided the full path of the IEXPLORER.EXE as 1st parameter. like System.Diagnostics.Process.Start(@"C:\Program Files\Internet Explorer\IEXPLORE.EXE", @"http://www.yahoo.com");

            Manoj Never Gives up

            T Offline
            T Offline
            Tarakeshwar Reddy
            wrote on last edited by
            #5

            Why do you need to provide it? Just using System.Diagnostics.Process.Start("http://www.codeproject.com/"); will open it in the default browser.

            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