OLE Classes


For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

For the latest documentation on Visual Studio 2017, see OLE Classes on docs.microsoft.com. The OLE classes work with the other application framework classes to provide easy access to the ActiveX API, giving your programs an easy way to provide the power of ActiveX to your users. Using ActiveX, you can:

  • Create compound documents, which allow users to create and edit documents containing data created by multiple applications, including text, graphics, spreadsheets, sound, or other types of data.

  • Create OLE objects that can be embedded in compound documents.

  • Use OLE drag and drop to copy data between applications.

  • Use Automation to control one program with another.

  • Create ActiveX controls and ActiveX control containers (formerly called OLE controls and OLE control containers, respectively).

The following categories of classes support ActiveX:

To see the inheritance of a class, use the Class Hierarchy Chart.

Class Overview