ProgressBar to show large file copy progress
Posted on 1998-07-28
I have a procedure that copies a large file (approx. 4MB) from a network server to a local workstation. The problem I'm having is the user gets impatient and thinks the computer is locked up. I'd like to use the progress bar to show the status of the file being copied. My plan was to check the filesize of the file to be copied, assign that to my progressbar.max property. Then use a timer to check the filesize of the destination file every 1 second. Then assign that to the progressbar.value property. Unfortunately, the timer event never fires until the file copy is complete. Can anyone offer any suggestions.