Microsoft KB Archive/244260

= PRB: IVbaProcs::BindProcDisp Does Not Merge Type Information of Host Project Items =

Article ID: 244260

Article Last Modified on 11/19/1999

-

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.

Additional query words: VBASDK

Keywords: kbprb KB244260

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.