Class Application (Outlook VBA)

The class Application represents the entire Microsoft Outlook application.

Methods

ActiveExplorer - Returns the topmost Explorer object on the desktop.

ActiveInspector - Returns the topmost Inspector object on the desktop.

ActiveWindow - Returns an explorer representing the current Microsoft Outlook window on the desktop, either an Explorer or an Inspector explorer.

AdvancedSearch - Performs a search based on a specified DAV Searching and Locating (DASL) search string.

CopyFile - Copies a file from a specified location into a Microsoft Outlook store.

CreateItem - Creates and returns a new Microsoft Outlook item.

CreateItemFromTemplate - Creates a new Microsoft Outlook item from an Outlook template (.oft) and returns the new item.

CreateObject - Creates an automation application of the specified class.

GetNamespace - Returns a NameSpace object of the specified type.

GetObjectReference - Creates a strong or weak object reference for a specified Outlook object.

IsSearchSynchronous - Returns a Boolean indicating if a search will be synchronous or asynchronous.

RefreshFormRegionDefinition - Refreshes the cache by obtaining the current definition from the Windows registry for one or all of the form regions that are defined for the local machine and the current user.

Properties

Assistance returns an IAssistance object used to invoke help.

Class returns an OlObjectClass constant indicating the object's class.

COMAddIns returns a COMAddIns collection that represents all the Component Object Model (COM) add-ins currently loaded in Microsoft Outlook.

DefaultProfileName returns a String representing the name of the default profile name.

Explorers returns an Explorers collection object that contains the Explorer objects representing all open explorers.

Inspectors returns an Inspectors collection object that contains the Inspector objects representing all open inspectors.

IsTrusted returns a Boolean to indicate if an add-in or external caller is considered trusted by Outlook. Read-only

LanguageSettings returns a LanguageSettings object for the application that contains the language-specific attributes of Outlook.

Name returns a String value that represents the display name for the object.

PickerDialog returns a PickerDialog object that provides the functionality to select people or data in a dialog box.

ProductCode returns a String specifying the Microsoft Outlook globally unique identifier (GUID).

Reminders returns a Reminders collection that represents all current reminders.

Session returns the NameSpace object for the current session.

TimeZones returns a TimeZones collection that represents the set of time zones supported by Outlook.

Version returns or sets a String indicating the number of the version.

Explorer - Represents the window in which the contents of a folder are displayed.

Explorers - Contains a set of Explorer objects representing all explorers.

Inspector - Represents the window in which an Outlook item is displayed.

Inspectors - Contains a set of Inspector objects representing all inspectors.

NameSpace - Represents an abstract root object for any data source.

Reminders - Contains a collection of all the Reminder objects in a Microsoft Outlook application that represent the reminders for all pending items.

Search - Contains information about individual searches performed against Outlook items.

TimeZones - A collection of TimeZone objects.