>>>Can anyone tell me if there is an API call I can use from VFP 6 to perform a File Copy that displays the standard flying paper progress bar? I know this can be done using the shell.application object but this is not available on all of my users machines.
>>>
>>>Thanks,
>>Mike,
>>
>>Yep, there is the function is SHFileOperation() in Shell32 versions 4.0 and above. It requires a structure with embedded pointers, so you'll need either Christof Lange's Structures or Ed Rauh's CLSHEAP to deal with it. It's documented in the MSDN library.
>
>Of course, if you've got the Shell object, you can do it like:
>
>oShell = CREATEOBJECT("Shell.Application")
>oFolder = oShell.NameSpace("C:\")
>* Copy somefile.txt to the c: folder
>oFolder.CopyHere("c:\somefolder\somefile.txt")
>
>A little easier than dealing with structures...
Oh yes, and I seem to recall a VFUG article I wrote on it.< g > He said that he didn't have access to it, so...
George
Ubi caritas et amor, deus ibi est