PRB: IVbaProcs::BindProcDisp Does Not Merge Type Information of Host Project Items (244260)
The information in this article applies to:
- Microsoft Visual Basic for Applications (VBA) Software Development Kit (SDK) 5.0
- Microsoft Visual Basic for Applications (VBA) Software Development Kit (SDK) 6.0
- Microsoft Visual Basic for Applications (VBA) Software Development Kit (SDK) 6.1
This article was previously published under Q244260 SYMPTOMS
The IVbaProcs::BindProcDisp method can be used to retrieve an IDispatch interface pointer. This interface pointer can then be used to call Visual Basic for Applications (VBA) methods. It can also be used to retrieve type information for those methods through the IDispatch::GetTypeInfo() method.
However, for Host Project Items, the type information retrieved through IDispatch::GetTypeInfo() does not contain type information for user-defined methods (that is, those methods written in the Project Item's code pane in the VBA IDE).
CAUSE
The IVbaProcs::BindProcDisp method does not merge the type information of the Host Project Item with that of the user-defined methods in its code pane.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 11/19/1999 |
---|
Keywords: | kbprb KB244260 |
---|
|