How to create Web Browser in vb.net

Abstract


Create new windows application by selecting New project.Drag and drop the one text box and button control to form.Add the Browser control to form then double click on the button control to bring up button's click event then put the below code

WebBrowser1.Navigate(TextBox1.Text)


Sample Source Code




Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
WebBrowser1.Navigate(TextBox1.Text)
End Sub
End Class


Comments

No responses found. Be the first to comment...


  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: