Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wscript.Shell Run failing
Message
 
 
À
01/03/2012 11:25:50
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01536940
Message ID:
01536956
Vues:
41
you are welcome

>Right, thanks
>
>>Because of the spaces in the path, it has to be enclosed in double quote
>>
>>lcCmd = ["C:\Program Files\Samsung\PlayCamera\PlayCamera.exe"]
>>...
>>
>>>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.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform