User`s guide
322 VEE User’s Guide
8 Integrating Programs for the PC Chapter
Understanding the Execute Program Object
In addition to ActiveX Automation, there are three ways to run
programs in other languages from VEE:
1 Use the Execute Program object to escape VEE and run
another program, application, or operating system command.
This method is the most versatile and easy to use.
2 Link compiled functions in other languages to VEE through
Dynamic Link Libraries on the PC. Although this is slightly
more difficult to execute, it gives you significant performance
gains. For more information about Dynamic Link Libraries,
refer to
“Using Dynamic Link Libraries" on page 453.
The Execute Program object is located in the I/O menu. There
is one object for the PC, as shown in Figure 178. Notice that
the Execute Program object does not use transaction I/O to
communicate with programs, so you do not add data input
and output pins to pass data to the compiled program.
Using the Execute Program Object
Figure 178 shows the Execute Program Object on the PC.
Figure 178 The Execute Program Object (PC)
Use the Execute Program object to run the following from VEE:
• Compiled programs written in other languages
• *.BAT or *.COM files
• MS DOS system commands, such as dir