Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows FileCopy
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00351014
Message ID:
00351057
Views:
22
>>I know I've seen it here, but can't find the print I made...I apologize in advance for the redundancy.
>>
>>What is the syntax for calling the native Windows FileCopy - so I can copy temp.dbf from K:\production to C:\windows\temp?? I want the user to see the AVI since its a several second copy.
>>
>>TIA
>
>Phil,
>
>Are you referring to the Shell.Application object?
>oShell = CREATEOBJECT('Shell.Application')
>* lcdir is the target directory
>oFolder = oShell.GetFolder(lcdir)
>* lcfiles is the filename
>oFolder.CopyHere(lcfiles)
George and Ed,

This is exactly what I was lookng for. But after the CREATEOBJECT line, I get an error dialog: "OLE Error Code 0 x 80040154 Class Not Registered"

Help?
Phil Thomas
http://phillipdthomas.com

Never let your energy or enthusiasm be dampened by the discouragements that must inevitably come.....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform