Platform SDK: Exchange Server

Programmable Objects

The Schedule+ Automation interface enables you to create and manipulate objects. After you have created a new object, you can reference it with programming tools that support Automation, such as Microsoft® Visual Basic® and Microsoft® Visual C++®.

For the purposes of this document, an object is a Schedule+ Automation object — a software component that exposes its properties and methods. Such an object follows the Visual Basic programming model. You get and set properties, call methods, and query data members on these objects.

Schedule+ programmable objects can be thought of as additions or extensions to the programmable objects that are offered as part of Visual Basic, such as forms and controls that expose their properties and methods so that developers can tailor these objects for their program's needs.

In addition to forms and controls, Visual Basic provides the CreateObject and LoadObject functions, which allow you to define a wide variety of other programmable objects.

Note  These functions do not have specialized names, such as CreateSpreadsheet or CreateDatabase. They are general-purpose functions that provide for an unlimited number of programmable objects, including Automation objects.

Visual Basic programs drive Automation. These programs can also drive other programmable object libraries that support Automation, such as the libraries provided by Microsoft Excel version 5.0 and Microsoft Access version 2.0. Visual Basic can call many different programmable object libraries and act as the glue that holds all of these objects together.

Each programmable object library can create its own objects, set properties, and call methods. A Visual Basic program can coordinate the work of all the libraries. For example, it can direct the Microsoft Access object to find data in a specific table, instruct the Microsoft Excel object to perform calculations using that data, and then direct Automation objects to incorporate the results of those calculations in a Schedule+ Task object.