The Classic OLE API and the COM API

There are two different APIs to use. They are referred to throughout this documentation as the "Classic API" and the "COM API".

The main differences between the APIs are:

Classic API

COM API

For less advanced programming, the new COM API is easier to use. It is possible to use both APIs in the same VBA program, though—read about the GetClassicObject method. You can obtain a classic object from a COM object, but you cannot get to the COM API from a classic object.

Event descriptions describes events in FORMS. The events are used in the same way for both APIs.

The help topic’s background tells you which API it is about

Topics describing the Classic API have a textured background. Topics describing the new COM API, and topics that apply to both, have a plain background, as this topic has.