M
Michael
Hi
I know it sounds grazy to create an ActiveX Usercontrol with VB.NET,
where a native tool for this already exists, VB6.
The existing ActiveX Control Containers should be able to load
dynamically the exisitng ActiveX Controls and also the new one written
with VB.NET. We want to make this switch to the new technology, because
the IDE is much more better, the WSDL support is much more better, OO
is included, and so on .....
State at the moment, we have written one usercontrol in vb.net,
eveything works quite fine, but the events don't work.
In the containers we use following code:
dim ocx as vbcontrolextender
set ocx = controls.add(progid, "ctl")
we use the eventhandler from vbcontrolextender
Private Sub ocx_ObjectEvent(Info As EventInfo)
end sub
The sub ocx_ObjectEvent is never been called !
I believe that it is possible to create an 100% compatible usercontrol,
but i don't know exactly how ??
mybe some of yours can help me
thank in advance
michael
I know it sounds grazy to create an ActiveX Usercontrol with VB.NET,
where a native tool for this already exists, VB6.
The existing ActiveX Control Containers should be able to load
dynamically the exisitng ActiveX Controls and also the new one written
with VB.NET. We want to make this switch to the new technology, because
the IDE is much more better, the WSDL support is much more better, OO
is included, and so on .....
State at the moment, we have written one usercontrol in vb.net,
eveything works quite fine, but the events don't work.
In the containers we use following code:
dim ocx as vbcontrolextender
set ocx = controls.add(progid, "ctl")
we use the eventhandler from vbcontrolextender
Private Sub ocx_ObjectEvent(Info As EventInfo)
end sub
The sub ocx_ObjectEvent is never been called !
I believe that it is possible to create an 100% compatible usercontrol,
but i don't know exactly how ??
mybe some of yours can help me
thank in advance
michael