CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2003
    Location
    Ellesmere Port, UK
    Posts
    26

    How do I open the default browser?

    How do I open the default browser using code in vb?

    I presume I would have to use Shell(), but I dont know how to retrieve the location of the default browser.

    Any ideas?

  2. #2
    Join Date
    Jun 2001
    Location
    MO, USA
    Posts
    2,868
    Read up on the Process class and Process.StartInfo structure. It'll do what you want if you pass a URL as the filename member and "open" as the verb.

  3. #3
    Join Date
    Jan 2003
    Location
    Ellesmere Port, UK
    Posts
    26

    Thumbs up

    Cheers Works like a peach \o/

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