I am trying to read data from a database and then write it to a text file and performs various other tasks. The database can have anywhere from 5 to 100,000 records. I am looking to create a progress bar that somehow will be able to determine the amount of time it will take to complete these tasks. Any ideas are welcome because i am completly lost.