We help IT Professionals succeed at work.

How do you stop a progress bar flickering

visualbasic
visualbasic asked
on
216 Views
Last Modified: 2010-05-18
How do you stop a progress bar flickering?
when I iterate through 2000 values my progress bar flickers.why does this happen? How can I prevent it?
Cheers
Comment
Watch Question

CERTIFIED EXPERT

Commented:
add Do Events in your loop
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
plq

Commented:
on the other hand, maybe you're updating it every record. Only update it every 100 records

if lCount mod 100 = 0 then
   ... update pbr
CERTIFIED EXPERT

Commented:
That wouldnt do it
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.