Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recognising completion of another program
Message
From
10/12/2001 03:42:50
 
 
To
10/12/2001 02:35:32
Andrew Mcgurk
Zermatt Business Systems
Wyoming, Australia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00591923
Message ID:
00591961
Views:
32
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
Previous
Reply
Map
View

Click here to load this message in the networking platform