D
Dan Holmes
I am creating an aspx application to use our existing COM objects. I
referenced the component correctly and i have it Dimmed correctly. What i
get is "InvalidCastException". Here is the code
Dim cfg as CIBOMConfig.IB_BOMConfig
Dim o as Object
o = CreateObject("CBOMConfig.IB_BOMConfig")
cfg = o ' error happens here.
CIBOMConfig.IB_BOMConfig is not the default interface for this component.
It is one of the implement statements. I can't figure out how to get the
..NET eqivalent of QueryInterface to work. in VB6 the assignment would do
it.
Dan Holmes
referenced the component correctly and i have it Dimmed correctly. What i
get is "InvalidCastException". Here is the code
Dim cfg as CIBOMConfig.IB_BOMConfig
Dim o as Object
o = CreateObject("CBOMConfig.IB_BOMConfig")
cfg = o ' error happens here.
CIBOMConfig.IB_BOMConfig is not the default interface for this component.
It is one of the implement statements. I can't figure out how to get the
..NET eqivalent of QueryInterface to work. in VB6 the assignment would do
it.
Dan Holmes