Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Obtaining the Idispatch interface where a main VBform resides

Status
Not open for further replies.

AbetG

Programmer
Aug 6, 2010
1
PH
I successfully obtained the IDispatch interface the VBform where my ActiveX control resides by obtaining the IDispatch interface of the VB Control Extender. From the control extender I was able to obtain the IDispatch interface of the VB form. Now my problem is that when I tried to obtain the containing typelib of the VBForm IDispatch interface, it returned nothing. What I want to do is to get that typelib so I can obtain the IDispatch interface of the App/VBGloba.App. Any ideas how to do it? BTW, I'm making an ActiveX Control in C++ for a particular use in particular VB apps I'm working with. I know I can make a function/property in my activex control that receives that App/VBGlobal.App IDispatch pointer.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top