Here is a simple tutorial with screen shots showing you how to make a simple
web browser in visual basic 2008.
You will need these items, and place them like they are in the screen shot.
1 text box, 1 Home button, 1 Go back button, 1 Go forward button, Refresh button, 1 Stop button, 1 Menustrip (For shortcuts), 1 Go button.
[IMG]http://i28.[censored].com/28uhiqs.jpg[/IMG]
Now the stop, refresh, go, back, forward, home, will all be picture boxes.
(They will not have line around them when the project is built)
Now add the code
Pictures boxes...Just double click on them so it will be picturebox_click
[IMG]http://i28.[censored].com/2nkhr2r.jpg[/IMG]
Now lets add the code for our shortcuts.
Just double click on each option on your menu strip as seen below.
[IMG]http://i28.[censored].com/290u7if.jpg[/IMG]
If you would like to make it go to a website (such as your own) on start up
Under Form1_Load put
Here is the full code.
MenuStrip - Options - Exit
MenuStrip - Shortcuts - Google.com
MenuStrip - Shortcuts - Myspace.com
MenuStrip - Shortcuts - Youtube.com
MenuStrip - Shortcuts - Hackforums.net
MenuStrip - Shortcuts - Wikipedia.org
Picturebox - Back Button
Picturebox - Forward Button
Picturebox - Refresh Button
Picturebox - Stop Button
Picturebox - Home Buttom
Picturebox - Go Button
That it...A simple basic web browser in Visual Basic 2008 (VB .NET).
web browser in visual basic 2008.
You will need these items, and place them like they are in the screen shot.
1 text box, 1 Home button, 1 Go back button, 1 Go forward button, Refresh button, 1 Stop button, 1 Menustrip (For shortcuts), 1 Go button.
[IMG]http://i28.[censored].com/28uhiqs.jpg[/IMG]
Now the stop, refresh, go, back, forward, home, will all be picture boxes.
(They will not have line around them when the project is built)
Now add the code
Pictures boxes...Just double click on them so it will be picturebox_click
[IMG]http://i28.[censored].com/2nkhr2r.jpg[/IMG]
Now lets add the code for our shortcuts.
Just double click on each option on your menu strip as seen below.
[IMG]http://i28.[censored].com/290u7if.jpg[/IMG]
If you would like to make it go to a website (such as your own) on start up
Under Form1_Load put
Code
Webbrowser1.Navigate "www.Yourwebsite.com"Here is the full code.
MenuStrip - Options - Exit
Code
Me.closeMenuStrip - Shortcuts - Google.com
Code
Webbrowser1.Navigate "www.google.com"MenuStrip - Shortcuts - Myspace.com
Code
Webbrowser1.Navigate "www.myspace.com"MenuStrip - Shortcuts - Youtube.com
Code
Webbrowser1.Navigate "www.youtube.com"MenuStrip - Shortcuts - Hackforums.net
Code
Webbrowser1.Navigate "hackforums.net"MenuStrip - Shortcuts - Wikipedia.org
Code
Webbrowser1.Navigate "www.wikipedia.org"Picturebox - Back Button
Code
Webbrowser1.GobackPicturebox - Forward Button
Code
Webbrowser1.GoforwardPicturebox - Refresh Button
Code
Webbrowser1.RefreshPicturebox - Stop Button
Code
Webbrowser1.StopPicturebox - Home Buttom
Code
Webbrowser1.GohomePicturebox - Go Button
Code
Webbrowser1.Navigate (Textbox1.Text)That it...A simple basic web browser in Visual Basic 2008 (VB .NET).
