Option 2: Connect to top-level named Automation object
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
This option creates a connection to an existing instance of a top-level Automation object (such as "Excel.Application"). This does not work with lower-level objects (such as "Excel.Sheet"), and fails if the Server is not already running. For example:
|
The following figure summarizes the basic logic for this option.

Note: This option is equivalent to the Visual Basic
GetObject(,class) function call.