Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing Params Through ShellExecute
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00691671
Message ID:
00691689
Vues:
16
This message has been marked as the solution to the initial question of the thread.
>Not sure I understand this syntax.
>
>I have procedure which accepts 3 params:
>sInstLoc - Path to installation location
>sNetLoc - A Path to a location on the network
>sAppTitle - Title of the application
>
>All 3 will have spaces in them. So I do:
>
>=Shellexecute(0,"",cRestarter",["sInstLoc" "sNetLoc" "sAppTitle"],"",1)
>
>Doesn't seem right to me
lcParam = ["] + sInstLoc + [" "] + sNetLoc  + [" "] + sAppTitle + ["]
=Shellexecute(0,"",cRestarter, lcParam ,"",1)
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform