Click here to Skip to main content
12,819,619 members (33,295 online)
Rate this:
Please Sign up or sign in to vote.
See more: VB VB.NET

i want all hyperlinks in a particular website to open in default browser instead of IE. some solutions i found were close but dint work for me. (Process.Start or shell thing is not working for me)

below is the code i am using.

Thanks in advance.

        If IsConnectionAvailable("") = True Then
            '  Me.BackgroundImage = System.Drawing.Image.FromFile(ImgBackground)
        End If

    Catch ex As Exception
    End Try
Posted 27-Nov-12 10:17am
Bernhard Hiller 28-Nov-12 3:59am
What does that "Process.Start or shell thing is not working for me" mean? Do you get error messages?
Ezra Neil 3-Jan-13 6:03am
I think Process.Start does open url in your default browser. If it open in IE then IE is your default browser. You have to change it manually.

If you want to control which browser it will use then that will require different solution.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170308.1 | Last Updated 27 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100