Make a Web Browser in Visual Basic

by lolcat360 in Circuits > Microsoft

307128 Views, 40 Favorites, 0 Comments

Make a Web Browser in Visual Basic

vb.bmp
Im going to teach you how to make a web browser in Visual Basic 2005.

Starting

vb2.bmp
Open Visual Basic and start a new Windows Application.

Adding the Tools

vb3.bmp
Add a:

Text Box
Web Browser
5 Buttons

in that order.

Arranging the Pieces Right

vb4.jpg
Arrange them like this and rename them like I did.

Now for the Code

vb5.jpg
Double click on the form and type in:
Me.Text = "Web Browser"
like this:

GO Button Code

vb6.jpg
double click on the Go button and type in:
WebBrowser1.Navigate(TextBox1.Text)

Back Button Code

vb7.jpg
Click (actually double click) on the back button and type in:
WebBrowser1.GoBack()
like this

Forward Button Code

vb8.JPG
vb9.JPG
vb10.JPG
vb11.JPG
vb12.JPG
Double click on the forward button and type in:
WebBrowser1.GoForward()
like this

REFRESH Code

vb9.JPG
double click on the refresh button and type in:
WebBrowser1.Refresh()
like this

HOME Button

vb10.JPG
Double click on the home button and type:
WebBrowser1.GoHome()
like this

Try It Out

vb11.JPG
Click on the Debug button

Publishing It

vb13.JPG
vb14.jpg
vb15.JPG
Click on build
then click on publish and keep clicking next
like these three pictures Im putting up

You're Finished!

vb16.JPG
you've finally created a web browser! now give yourself a hand and go sell it online or something.