Compartir a través de


Overview of Automation

Automation enables software packages to expose their unique features to scripting tools and other applications. Using Automation, you can:

  • Create applications and programming tools that expose objects.

  • Create and manipulate objects exposed in one application from another application.

  • Create tools that access and manipulate objects. These tools can include embedded macro languages, external programming tools, object browsers, and compilers.

The objects an application or programming tool exposes are called ActiveX objects. Applications and programming tools that access those objects are called ActiveX clients. ActiveX objects and clients interact as follows: Applications and other software packages that support ActiveX technology define and expose objects which can be acted on by ActiveX components. ActiveX components are physical files (for example .exe and .dll files) that contain classes, which are definitions of objects. Type information describes the exposed objects, and can be used by ActiveX components at either compile time or at run time.

In this section

Topic Description
Exposing Objects
Exposing objects provides a way to manipulate an application's tools programmatically.
ActiveX Objects
An ActiveX object is an instance of a class that exposes properties, methods, and events to ActiveX clients.
ActiveX Clients
An ActiveX client is an application or programming tool that manipulates one or more ActiveX objects. The objects can exist in the same application or in another application.
ActiveX Client and Object Interaction
ActiveX clients can access objects using IDispatch or by calling one of the member functions in the objects's vtable.
Type Libraries
A type library is a file or part of a file that describes the type of one or more ActiveX objects.