General information
Category:
Coding, syntax & commands
Hi Farouk,
I just had this same question about a thermometer bar while copying files a week ago. Someone in the VFP forum on Compuserve suggested using the VFP low level file commands to copy the file in 10k increments and update a thermometer from the copy loop. I used this idea and it works like a charm! Check out the fopen, fread and fwrite commands. Then you can just update the progress bar of your choice.
Bill
>Hi all,
>
>Usually when I update my app to the customer site, I will put the newest tables structures to a temp directory and run my update program which will append all records from current directory to the temp. After doing this, I will copy from the temp and back to the exisiting current directory. When copying in progress, it takes time and to user it's like the system 'hang'. Is there any command to rename the directory instead? Or is there anyway I can display a thermometer if I use the COPY FILE command?
>
>Regards,
>Farouk Yew Abdullah
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only