Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Recognising completion of another program
Message
De
10/12/2001 03:42:50
 
 
À
10/12/2001 02:35:32
Andrew Mcgurk
Zermatt Business Systems
Wyoming, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00591923
Message ID:
00591961
Vues:
34
Andrew,

Try specifying the fullpath to your exe:
WITH ThisForm.oProcess
  .icCommandline = <b>'C:\TsrTu3a\tsr-tu3A.exe'</b>
  .icLaunchDir = "C:\TsrTu3a"
  .icWindowMode = "NOR"
  .LaunchApp()
ENDWITH
HTH
>>>From a button on a form I RUN another Windows program which downloads a text file from a barcode reader(via serial port).
>>>
>>>I don't want my code to continue running until the barcode program finishes.
>>>
>>>How can I recognise this completion?
>>>
>>>TIA
>>>Andrew McGurk
>>
>>See file #9477 in the download section.
>>
>>Dan
>
>Thank you for your quick and appropriate response. It looks straight forward, but in my ignorance, it doesn't work for me!
>
>I am setting the following properties
>
> ThisForm.oProcess.icCommandline = 'tsr-tu3A.exe'
> ThisForm.oProcess.icLaunchDir = "C:\TsrTu3a"
> ThisForm.oProcess.icWindowMode = "NOR"
>
>and getting a NULL response = "Can't do it". I have stepped it through to the CrPr statement, then...
>
>Is there more I should know?
>
>Andrew McG
Daniel
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform