A simple internet Browser

It’s very exciting isn’t it, in the second program, We are attempting to create a customized simple internet browser. My program consist of the following controls:

1 WebBrowser (the web content area)
Name: BrowseWindow

3 buttons (HomeButton, BackButton, Button_1)

Some thoughts: The browser is very simple, address does not address content of the web. Maximize, content area does not, future considerations.

Code

Public Class Form1

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

BrowseWindow.Navigate(TextBox1.Text)

End Sub

Private Sub BackButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BackButton.Click

BrowseWindow.GoBack()

End Sub

Private Sub HomeButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles HomeButton.Click

BrowseWindow.GoHome()

End Sub
End Class

Screen shot (click to enlarge)

Chapter 1 Program 2 Screen shot

download Chapter 1 Program 2 Code download

One Response to “A simple internet Browser”

  1. Michael Smith says:

    Wow, cool, I’d like to follow your code and learn some visual basic, thanks!

Leave a Reply