|
-
Jul 27th, 2004, 01:39 PM
#1
Thread Starter
Fanatic Member
Originally posted by HumePeabody
If you are doing what I usually do and trying to tell the user how much longer the file will be read, I would use the size of the file available through a FileSystemObject and keep track of the number of bytes read (each line = Len + 2, for CRLF). Then you have the progress in terms of percent by dividing the bytes read/bytes total.
One other tip is to only update your progress bar every X% so that CPU time is spent on processing the file and not updating the screen as often.
HTH
Hume
that's a good idea! thanks, i'll have a look into that when i got the time
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|