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:
00728581
Views:
24
>AFAIK, it always returns 1223 when there's an error. At least I never got anything else returned.
>You can change
                NumToLONG(lnProgressTitle )
>* to
>                NumToLONG(0)
and remove all lines related to lcProgressTitle. It's leftover from my attempt to use custom progress message. However it's working code, so I don't know why it doesn't work for you as is.

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...

>>Hi Sergey,
>>
>>I've tried your code. First of all, I'm using VFP6, so instead of _screen.hWnd I put GetActiveWindow(). Is it Ok?
>>
>>Secondly, it returns 1223 (no visual error messages). Where can I find, what does each error code mean?
>>
>>Thanks in advance.
>>
>>UPDATE. Once I changed the code to the original NumToDWORD code, it worked in sample I was trying... Progress title was ignored, though...
>>
>< snip >
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform