Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insufficient Stack Space
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00509484
Message ID:
00510835
Vues:
20
>i did 1 teste; i didn't receive any message error!
>
>any reason for use the character "&" be the source of the error?
>
>thanks.
>
sergio,

I can't say why the "&" character would cause this. Quite frankly, I'm surprised that a COM error wasn't generated. What the WScript.Shell object's Run method expects to receive is either a program name or a file with an extension it can associate a program to. Bascially, if I remember your original post correctly, you were passing a variable name preceded by the ampersand enclosed in quotes. Exactly how this was being resolved, I don't know. Simply, plassing the variable, unless it contained a long file name, should have been sufficient to allow the Run method to properly execute.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform