282 Chapter 7
Integrating Programs In Other Languages
Understanding the Execute Program Object
Wait for
prog exit
Specifies when to fire the sequence pin.
n When set to Yes, the sequence pin is not fired until
the program finishes executing.
n When set to No, the sequence out pin fires before the
specified program is done executing. Note that when
launching documents or URLs, if the document or
web site is loaded into an application that is already
running, VEE does not wait until the application
exits.
Prog with
params
(Program with parameters) This field holds the same
words you would type at a DOS prompt. For example, to
run a program in C, enter the executable file name
- myprog.exe. (You can omit the .exe extension.)
n If the program has parameters, they would follow the
executable file name preceded by a hyphen, such as
myprog -param1 -param2.
n To run a DOS system command, first run the DOS
command interpreter with the
/c option. For
example, for Windows 95 and Windows 98, enter the
command
command.com /c <system command>.
n For Windows NT 4.0 and Windows 2000, enter the
command
cmd /c <system command>
n This option tells the command interpreter to read the
string following the
/c as a system command.