Information générale
Catégorie:
Codage, syntaxe et commandes
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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement