RepeatHost Business Hosting

Reply to comment

Update ProgressBar from main thread

Updating controls from your same thread during blocking operations like downloading a file will never work as well as a separate thread. You should really get into the habit of doing the updating from separate threads because this is core to doing advanced windows programming.

All of that being said, I did find a thread where you can create a delegate back to your thread that may work for you. Here is the post:

http://social.msdn.microsoft.com/Forums/en-US/winforms/thread/093dfdb2-e...

Reply