In Corel DESIGNER and CorelDRAW, the Application object is the root of all other objects and is used if no other root object is specified. You can use the application’s Application object to reference the application’s object model from an out-of-process controller.
Here’s a Visual Basic example for Corel DESIGNER:
Dim des As CorelDESIGNER.Application Set des = CreateObject("CorelDESIGNER.Application")
Here’s a Visual Basic example for CorelDRAW:
Dim cdr As CorelDRAW.Application Set cdr = CreateObject("CorelDRAW.Application")
If desired, you can avoid using the CreateObject keyword in the preceding example by importing the target type library and using the data types directly.