J. Scott Elblein
Well-known member
Can someone else see if this same issue happens with them?
I have a web browser object on a form, and in the Progress_Changed event I put some code there (anything really But I have this code):
Then before that code I put this line of code:
What's happening on my computer is, if I browse web pages with that progressbar code there, the Progress changed event simply never fires. I can put a breakpoint right on the first line of the event or on the line of code itself, (or anything after it) and it never breaks, no matter how much I surf around, and the code after it never executes as well.
But if I just comment out that line, the progress changed event fires and all the other code in it executes as usual.
Is it just on mine?
I have a web browser object on a form, and in the Progress_Changed event I put some code there (anything really But I have this code):
VB.NET:
If e.CurrentProgress = 0 AndAlso e.MaximumProgress = 0 Then
Dim message As String = "Ready"
Console.WriteLine(message)
lblReady.Text = message
End If
Then before that code I put this line of code:
VB.NET:
ToolStripProgressBarCollect.Value = DirectCast(((e.CurrentProgress / e.MaximumProgress) * 100), Double)
What's happening on my computer is, if I browse web pages with that progressbar code there, the Progress changed event simply never fires. I can put a breakpoint right on the first line of the event or on the line of code itself, (or anything after it) and it never breaks, no matter how much I surf around, and the code after it never executes as well.
But if I just comment out that line, the progress changed event fires and all the other code in it executes as usual.
Is it just on mine?