• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 312
  • Last Modified:

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
0
ziorinfo
Asked:
ziorinfo
1 Solution
 
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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now