Option 1: Instantiate Automation object by name
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
This option creates a connection to a new instance of a specified Automation object, launching the Server if necessary. For top-level Automation objects (such as Excel.Application), this option usually launches a new instance of the Server, unlike for lower-level objects (such as Excel.Sheet, which use the instance created by a top-level object). For example:
|
The following figure summarizes the basic logic for this option.

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