Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shell.Application weirdness
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Shell.Application weirdness
Divers
Thread ID:
00311057
Message ID:
00311057
Vues:
48
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
Répondre
Fil
Voir

Click here to load this message in the networking platform