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:
00728580
Views:
31
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.

>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 >
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform