1.Now Open VB
2.Now create a new form Application > Name It > Press OK!
3.Make the form as big as you want
4.Add a webbrowser to it (Webbrower is in the tools place).
5.Now add 5 buuton on the form (where ever you want it).
6.Rename them to:

Button 1:Back
Button 2:Forward
Button 3:Stop
Button 4:Refresh
Button 5:Home

7.Now add these codes into the buttons:

Back:

webbrowser1.goback


Forward:


webbrowser1.goforward


Stop:

webbrowser1.stop 


Refresh:

webbrowser1.refresh 


Home:

webbrowser1.gohome


8.Now add 1 textbox and 1 more Button.
Put the textbox and button next to each other.
Rename the Button you just added to Search and add this Code:

Webbrowser1.Navigate(Textbox1.text) 


IF YOU DON'T WANT IT ADVANCED YOU CAN STOP HERE!

9.Go to toolbar and select status strip.
Add two things in your status strip:
Progress
Label

10.Where it says ToolStripStatusLabel1

rename the text so it says Done.

Then make it as visible = false
same for the progress bar

11.Double click on your webbrowser and add this code :

With ProgressBar1

.Minimum = 1

.Maximum = 10000

.Value = 1

.Step = 1

ProgressBar1.Visible = True

For i As Integer = .Minimum To .Maximum

.PerformStep()

Next i

End With

If WebBrowser1.ReadyState Then

ProgressBar1.Visible = False

End If

If ProgressBar1.Value = 10000 Then ToolStripStatusLabel1 = True


Original : Chimmy.Org - View topic - [Visual Basic .NET] Web browser Beginner