The Application object allows you to work with the Outlook application.
Use the new keyword to create a new instance of an Outlook application
{Create a new instance of Outlook.} app = new Outlook.Application();
When using Distributed COM (DCOM), create a new instance of Outlook with the COM_CreateObject() function. In the following example, a new instance of Outlook is created on the computer “SystemServer”.
{Create a new instance of Outlook.} app = COM_CreateObject("Outlook.Application", "SystemServer");
Use the COM_GetObject() function to retrieve a running instance of Outlook.
{Retrieve a running instance of Outlook.} app = COM_GetObject("Outlook.Application");
After you have finished using an application, you can close it with the Quit method.
{Close an application.} app.Quit();