Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anyway of Renaming Directory from VFP?
Message
From
01/01/1998 09:20:13
 
 
To
31/12/1997 23:08:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00068757
Message ID:
00068770
Views:
51
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
Map
View

Click here to load this message in the networking platform