|
-
Feb 3rd, 2009, 06:57 AM
#1
Thread Starter
Addicted Member
[RESOLVED] [2008] Backgroundworker progress bar problem
Hello,
Got a bit of a weird problem with a progress bar.
I'm using a backgroundworker, which calls a "Process" function in a different class.
The function goes about its business, and sends an update back to the form displaying the progress bar.
What I'm finding is that its doing everything right, except update the progress and a label on the form.
I've put breakpoints in to check the values of variables being sent to the form, and they're correct. I've also checked the value/maximum of the progress bar during the same break as I step through, and they're being set correctly .... they're just not displaying their updated status. I've tried refresh and application.doevents, to no avail. When the backgroundworker is complete, the values of the progress bar/label are as if I've never touched them! When the worker is complete, the Close button is enabled, so I know its finished.
Anybody got any pointers/thoughts on this because I've been battling with this for a day and a half so far. I'm using the same technique as I've used elsewhere in the app to do similar backgroundworker progress updates, but this one refuses to work properly.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|