Progress bar and system thread

I

imarkic

Hy,
I have in my application a function which reads from database and
export data to txt files. Now i wantz to make progress bar who will,
depends of number of record populate progress bar or status of my
operation.

Please, does anyone know how to do that?

Regards
 
H

Harry Strybos

imarkic said:
Hy,
I have in my application a function which reads from database and
export data to txt files. Now i wantz to make progress bar who will,
depends of number of record populate progress bar or status of my
operation.

Please, does anyone know how to do that?

Regards

Have a look at a BackgroundWorker, or better still, have a look at component
classes. These allow you to encapsulate your process, do it in the
background and raise events in the calling form reporting progress and
completion.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top