CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    May 2002
    Posts
    121

    open web browser

    How to open a web browser from an application?

  2. #2
    Join Date
    Jun 2000
    Location
    north qld australia
    Posts
    67
    using System.Diagnostics;

    Process.Start("IExplore.exe", "http://www.asite.com");

  3. #3
    Join Date
    May 2002
    Posts
    121
    Thanks, but I should have been clearer.

    I can't assume that the user is using IE, I was hoping that there is a built-in function in c# that opens the user's default browser.

    How can what is the user's default browser?

    Thank you.

  4. #4
    Join Date
    Oct 2001
    Location
    Norway
    Posts
    265
    Code:
    Process.Start( "http://www.webpage.com" );

  5. #5
    Join Date
    May 2002
    Posts
    121
    ohh... no way!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured