Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy Files using ShFileOperation
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00727693
Message ID:
00728609
Views:
27
>>>May be it depends on how cSource and cDestination are defined? In the sample, I tried, I use:
>>>c:\DataEntry\*.* and c:\MyNewDir It works with the original code. Once I changed my real code to destination equals to the directory name, it also worked...
>>>
>>>I have no other ideas...
>>
>>According to the error lookup utility that comes with VS, 1223 means that the user canceled the operation.
>
>Thanks, George. I can not cancel the operation, since it was not started yet... :) Still, thanks a lot.

Try calling GetLastError() if the return value is non-zero
George

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

Click here to load this message in the networking platform