progress bar potential

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hey all,

I know there's a progress bar for windows forms but could I use that for the
status of downloading data from a database to the dataset? If so,
conceptually, how would that work?

thanks in advance,
rodchar
 
Rodchar,
I know there's a progress bar for windows forms but could I use that for the
status of downloading data from a database to the dataset? If so,
conceptually, how would that work?

The progressbar needs a begin point, an endpoint and steps.

You can find the begin and the endpoint however, you will with normal used
tools not get the steps, in windows is often used in that situation an avi,
which ar as files in VSnet.

By instance filemove.avi and filecopy.avi

I hope this helps?

Cor
 
Hi rodchar,

The problem isn't with the Progress Bar, but as Cor said, the step. You need to somehow get the number of bytes/records etc that have been downloaded at any one time.

A possibility would be to download a fixed set of data (for instance 10 rows), notify the progressbar about the downloaded rows, and keep doing the row downloading until finished.

This would be less than optimal, but a user might prefer to wait 3 minutes with a user friendly update instead of 2 minutes "blind".
 
Back
Top