Try OpenEdge Now
skip to main content
Programming Interfaces
External Program Interfaces : ActiveX Automation Support : Requirements for doing Automation
 

Requirements for doing Automation

The main requirement for implementing Automation in an application is that the Automation Server is correctly installed on the system where you develop and deploy the application.
To write an Automation application:
1. Access an Automation Server by creating connections to one or more createable Automation objects provided by the Server (using the CREATE Automation Object statement).
2. Access data and functionality on the Server and instantiate additional Automation objects as needed, through the properties, methods, and events of the created Automation objects.
3. Enable events for the Automation object, if desired.
4. Release each Automation object as your application no longer needs them.
5. Repeat Steps 1 through 3 for as many Automation Servers as your application requires.
The possible combinations of Servers and Automation objects used by your application are limited only by the available resources and implementation of the Automation Servers.
Note that Automation objects can be organized into hierarchies in an Automation Server, with one or more top-level Automation objects providing access to the rest. Top-level objects represent the application for the Server and are always createable. Other Automation objects in the Server can also be createable. The relationship of each Automation object in the hierarchy affects how you can instantiate it. For more information on the relationship among Automation objects, see the documentation on their Automation Server.