Click here to Skip to main content
15,899,314 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
when a tab is added progress bar does not work it shows progress of current (default) tab only.it should work individually for all tabs or tab that it added. need code to resolve this problem...for my custom web browser
Posted
Updated 26-Feb-12 22:33pm
v3
Comments
[no name] 26-Feb-12 5:54am    
What tab? IE, Firfox or your custom browser?

1 solution

my Site. Hi This code wil help you
VB
Private Sub WebBrowser1_ProgressChanged(ByVal sender As Object, ByVal e As System.Windows.Forms.WebBrowserProgressChangedEventArgs) Handles WebBrowser1.ProgressChanged
  If e.CurrentProgress = -1 Then
     ProgressBar1.Maximum = 100
     ProgressBar1.Value = 100
  Else
     ProgressBar1.Maximum = e.MaximumProgress
     ProgressBar1.Value = e.CurrentProgress
  End If
End Sub
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900