Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy file using windows copy
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00647036
Message ID:
00647037
Views:
21
>How can I from within VFP6 utilize the Windows copy that gives the flying paper graphic and show which files are being copied. I have a situation where there about 3000 bit map graphics to copy. Currently I use run xcopy but that gives the black screen with the files scrolling.

It's the API call is SHFileOperation. There's an entry in the API section that I believe will show you how to do this.

An alternative method is to use the Shell.Application object. The only problem with it, may be availability. If the target platforms are Win98 and greater, then it's there. Under Win95, however, the computer must have had IE 4.01 with the Active Desktop option installed at some point.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform