Get maximum level of loading bar while extracting data from db

Im creating a windows application in which the data is extracting quick books.I want to use the loading bar for the time system is extracting data from quick books.How could i get the maximum limit of loading bar or time taken to extract the data.Please advice
ziorinfoAsked:
Who is Participating?
 
Maulik ModiCommented:
You need to find numerical measure that indicates progress. It could be numberofBytesDownloaded for file transfer application, number of files being copied for file transfer or backup program.

Similarly, in your case it could be number of records / accounts that needs to be extracted. Say there are total 3000 records then backgroundworker reportProgress event you can check how many are extracted at point of time and display progress= currentExtrcated/Totalrecords.

Reference links:
http://www.codeproject.com/KB/progress/EasyProgressBar.aspx
http://www.c-sharpcorner.com/Forums/Thread/55264/progress-bar-with-background-worker-till-xml-file-gets-u.aspx
http://www.bigresource.com/VB-How-to-let-progressbar-calculate-file-copy-transfer-time--OGKVcjQOmp.html
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.