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)
download Chapter 1 Program 2 Code download
Chang is a 20 some years old web technology enthusiast, he loves open source web application design and development. In his spare times, he loves to explore new technologies, web 2.0 and its business implications,
Wow, cool, I’d like to follow your code and learn some visual basic, thanks!