I'm making a web browser. I wanted to know how I can get a progress bar to show how much longer the page needs to load. I have tried a bunch of things, they just don't work. HELP.
Printable View
I'm making a web browser. I wanted to know how I can get a progress bar to show how much longer the page needs to load. I have tried a bunch of things, they just don't work. HELP.
See if this thread is of any assistance.
http://forums.vb-world.net/showthrea...threadid=19377
Just use this if you just want to have it in words:
OR for a progressbar:Code:Private Sub WebBrowser1_ProgressChange(ByVal Progress As Long, ByVal ProgressMax As Long)
Label1.Caption = "Reading - " & Progress & " of " & ProgressMax & " bytes"
End Sub
Code:Private Sub WebBrowser1_ProgressChange(ByVal Progress As Long, ByVal ProgressMax As Long)
On Error Resume Next
Progressbar1.Min = 0
Progressbar1.Max = ProgressMax
Progressbar1.Value = Progress
End Sub
well in the custom controls dialog box, can you tell me where a progress bar is because it's not on my toolbix at the moment.
I found it. Anyway, you know that little icon in the upper right had corner that moves when your page is loading? Well, how do I add one of those little guy's. Yes thank you all who help out, your very helpful.