K
Kalvin
I have a C# class which is created by a VB6 application. In the VB6 a
VBControlExtender is created and passed to the C# class. In VB6 you
get to the underlying control of a VBControlExtender by
calling .object on the VBControlExtender. How do get to the
underlying control once this VBControlExtender is passed to C#. I
can't cast the passed control to AxHost, or any other type of .NET
control, because it isn't a .NET control. I can't access the
underlying object of the VBControlExtender without casting to
something besides object, but I don't know what to cast it to. Please
help.
VBControlExtender is created and passed to the C# class. In VB6 you
get to the underlying control of a VBControlExtender by
calling .object on the VBControlExtender. How do get to the
underlying control once this VBControlExtender is passed to C#. I
can't cast the passed control to AxHost, or any other type of .NET
control, because it isn't a .NET control. I can't access the
underlying object of the VBControlExtender without casting to
something besides object, but I don't know what to cast it to. Please
help.