How to launch web browser in windows application

onebite2 used Ask the Experts™
I have a text box with url field and  a button....when the text box has url  value and when the user clicks on the button it should launch a webbrowser in windows to do this part of code???
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Éric MoreauSenior .Net Consultant
Top Expert 2016

Try this:

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

    End Sub

This will open the specified url, using the default browser. Make sure that the http:// part exists in the textbox.text.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial