i am building a web browser i was woundering how i could put a progress bar in it.
Last edited by richsmith; Nov 7th, 2001 at 09:03 AM.
You could use the ProgressChange Event of WebBrowser Control For more info check out http://msdn.microsoft.com/library/de...resschange.asp
A time to love, and a time to hate; a time of war, and a time of peace - Ec:3:8
You could add your own Progressbar. VB 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
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
Thanks Very much, it works really well
Forum Rules