Home > Programming Languages, Programming Tutorials, Tutorials, VB.NET, Video, Windows > 5 4 Creating a Simple Browser in Visual Basic.NET

5 4 Creating a Simple Browser in Visual Basic.NET

April 26th, 2010 Leave a comment Go to comments


Using Visual Basic.NET (in this instance 2005) in order to create a simple browser that basically hijacks functionality from internet explorer Here’s the code: Private Sub btnBack_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnBack.Click WebBrowser1.GoBack() End Sub Private Sub btnFwd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnFwd.Click WebBrowser1.GoForward() End Sub Private Sub btnHome_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnHome.Click WebBrowser1.GoHome() End Sub Private Sub btnRefresh_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRefresh.Click WebBrowser1.Refresh() End Sub Private Sub btnGo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGo.Click WebBrowser1.Navigate(txtUrl.Text) End Sub

Related posts:

  1. NorkiddExo
    April 26th, 2010 at 12:24 | #1

    Yes, fantastic and works 100%. So rarely do you find you tube videos actually working.

  2. sallyann22
    April 26th, 2010 at 12:26 | #2

    Superb!!Looking forward to seeing many more Visual Basic lessons. Your tuition is utterly superb!

  3. khapena
    April 26th, 2010 at 12:39 | #3

    As always Firchild, easy to understand. . . Thanks for sharing

  1. No trackbacks yet.
You must be logged in to post a comment.