250 Chapter 6
Creating Reports Easily Using ActiveX
ActiveX Automation in Agilent VEE
ActiveX Automation in Agilent VEE
In this chapter, the term ActiveX Automation refers to VEE’s ability to act
as an Automation Controller of Automation Server applications such as MS
Excel, MS Word, and MS Access. The exercises focus on the practical
application of Microsoft’s ActiveX technology to generate test and
measurement program reports.
Note There are also other related lab exercises in this manual: “Using an ActiveX
Control” on page 396, and “The Callable VEE ActiveX Automation Server”
on page 446. For more detailed information about Automation terminology
and concepts, refer to the VEE Pro Advanced Techniques manual.
Listing ActiveX Automation Type Libraries
To find the automation objects installed on your computer, click Devices
⇒ ActiveX Automation References.
Note For information about ActiveX Control References, refer to Chapter 10,
“Using Operator Interfaces.” Refer also to Chapter 12, “Platform Specifics
and Web Monitoring.”
Devices ⇒ ActiveX Automation References lists the Type
Libraries that are installed on your PC. Each application and ActiveX
Component that can be an Automation Server registers a Type Library. VEE
displays what is available on your PC. These libraries include information
about the functionality of the application or component that is exposed to
ActiveX clients.
Type libraries typically consist of a set of classes. Some classes can be
created by the programmer. Other classes are always created by the
application or component. Classes consist of properties, methods, and
events, although not all have to be present. The Type Library provides both
the programmer and the VEE environment with information necessary to
utilize the application or component using ActiveX interfaces.