I'm at total loss!
Progress bar, for some inexplicable (to me) reason never reaches 100%! Even the statements
loProgress.Value = loProgress.Maximum loProgress.Refresh()
have no effect: the green strip stops somewhere in the middle!
What might cause this behavior?
BTW: when the number of iterations is small (e.g. 5, 20, even 125) - the green strip stops in the middle, but when I ordered 75,000, or even just 1,000 iterations - reach 100% it did.
Another strange thing: when I do step-by-step execution in IDE, reach the 100% it does, but not when it's uninterrupted run...