Click here to Skip to main content
15,888,177 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I'm working on a project in which I just scan files and save them in database.
I've a label control in the status bar showing current time,when I start scanning ,a scanning dialog box with a progress bar shows up.But at the same time while scanning current time on the status bar gets stuck,Why???
I don't know how to keep label control updated in a separate thread ???
I need help :-(
Posted

1 solution

Read about backgroundworker this will suffice what you want:

BackgroundWorker Class Sample for Beginners[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900