i have designed a web browser.except for the progress bar it is working fine.
this is my code:
Private Sub WebBrowser1_ProgressChanged(ByVal sender As Object, ByVal e As System.Windows.Forms.WebBrowserProgressChangedEventArgs) Handles WebBrowser1.ProgressChanged
ProgressBar1.Maximum = e.MaximumProgress
ProgressBar1.Value = e.CurrentProgress
End Sub
the error reported is progressbar1.value should be between max and min e.currentprogress = -1 is not possible