IGetVBAObject interface

Gets access to the IVBFormat interface.

When to implement

IGetVBAObject is a private Visual Basic interface and is not implemented by other containers. Its intended purpose is to assist in the migration of VBX controls to OLE controls.

When to use

The use of IGetVBAObject is no longer recommended, even if you are migrating a VBX control to an OLE control, because containers other than Visual Basic do not support it.

You can obtain a pointer to the IGetVBAObject interface by calling GetExtendedControl to get a pointer to the Extender object, and then calling QueryInterface with IID_IGetVBAObject on the Extender object pointer.

Members

The IGetVBAObject interface inherits from the IUnknown interface. IGetVBAObject also has these types of members:

Methods

The IGetVBAObject interface has these methods.

MethodDescription
GetObject

Gets a pointer to an interface.

 

Requirements

Header

VbInterf.h

IID

IID_IGetVBAObject is defined as 91733A60-3F4C-101B-A3F6-00AA0034E4E9

 

 

Show: