Remove these ads by
Signing UpStep 1Starting The Project
Open VB and and open a new "Windows Forms Application" file
| « Previous Step | Download PDFView All Steps | Next Step » |
Remove these ads by
Signing Up| « Previous Step | Download PDFView All Steps | Next Step » |

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.
You can set the text on the buttons in the properties.
Private Sub WebBrowser1_Navigating(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserNavigatingEventArgs) Handles WebBrowser1.Navigating
ProgressBar1.Visible = True
With ProgressBar1
.Minimum = 0
.Maximum = 50
.Step = 5
End With
For index As Integer = 0 To 50 Step 5
ProgressBar1.Value = index
System.Threading.Thread.Sleep(35)
Next
End Sub
If you select the progress bar and hit F1 to bring up help there is an example of this.
I am unsure what event the browser control raises to report its progress, but essentially you want to hook a method to this event that updates the value of the progress bar.
By default the progress bar has 100 points, so the value works as a percent done measure.
Sorry I can't give code examples, I'm mainly a C# developer and try to avoid basic.
This will mean the browser fills the window even if resized, and allows you to resize the top panel which you can use for a menu.
There are more "proper" ways, but lets keep it simple.
it is not really explained, you just describe how to make it and,
this is, in fact, internet explorer.
Also, it's a repost.
http://www.instructables.com/id/Make_a_web_browser_in_visual_basic/
http://www.instructables.com/id/Creating_a_Program_in_Visual_Basic_Web_Browser/