Call funtions of COM from within VB.NET

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I had a COM component , which derived from IDispatch, so I could be used by
VB.NET(And yes, it could be used in VB6). but in fact I met with the
exception,
code was as following:
//////////////////////
Dim obj as new XXX.Obj
//////////////////////
error message was
QueryInterface for interface XXX.IObj failed.

I dont know why?
 
I'd say that it's possibly that the COM component is dependant on another
component that hasn't been installed or registered?
 
Back
Top