-
THREAD becomes Unstable
Hi All
I am using vb.net to controll a data capture device. I have used thread for the data capturing. I have included progressbar to indicate the status. Once the datacapturing is finished , progresbar value will go to zero . code for the prograssbar is written in a procedure named as " clearprogressbar"
This program works fine ,but it is not stable. Sometime I can't see the progressbar cleared after data capturing which means thread did not invoke
clearprogressbar. so progressbar remains stay in 100 %
Can Anybody help with this issue ?
Best Regards
Faisal
-
Manipulating a forms control (progress bar) from a new thread requires that you invoke on the form's thread. You don't really give the details of how you are interacting between your data capture thread and the progress bar, but this is most likely the cause of the instability.
Each time you set a value or clear the progress bar, you must invoke on the form's thread.
Similar Threads
-
By solomon_13000 in forum Java
Replies: 2
Last Post: 07-22-2009, 04:53 AM
-
Replies: 8
Last Post: 10-11-2007, 04:17 AM
-
By manik_gopal in forum Java
Replies: 4
Last Post: 04-27-2006, 07:01 AM
-
Replies: 1
Last Post: 10-29-2000, 04:51 PM
-
Replies: 2
Last Post: 10-27-2000, 03:07 PM
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks