Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wscript.Shell Run failing
Message
De
01/03/2012 10:24:12
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Wscript.Shell Run failing
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01536940
Message ID:
01536940
Vues:
91
I am attempting to launch a camera application, but keep get the following error:

"The system cannot find the file specified."

I know it is there.
lcCmd = "C:\Program Files\Samsung\PlayCamera\PlayCamera.exe"
loWSH = CREATEOBJECT("WScript.Shell")
loWSH.RUN(lcCmd)
I do not want to use RUN because of the DOS window that appears too. Also, I need the foxpro application to wait until the camera window is closed before proceeding.
Greg Reichert
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform