I found a couple of strange things with shell.application.
(tested on VFP 5, Win 95 and Win 98 )
When I trace my program it *sometimes* fails on the line:
oWinShell.NameSpace(lcTargetPath).CopyHere(lcSource, FOF_NOCONFIRMATION)
with "Function argument, type or count..." error message
If I do not trace it works OK.
When I run it from EXE it fails with the message
"Member NAMESPACE does not evaluate to an object"
If I run EXE from VFP it works OK.
Anybody has any ideas?
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison