![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi NG We have a VB6 ActiveX DLL which we use from an ActiveX script in a DLL Set Obj = CreateObject("Library.Class") Obj.DoSomething Set Obj = Nothing We now have a new .Net Library that we would like to access in the same manner. Unfortunately we get an "ActiveX component can't create object" Error. Any ideas would be greatly appreciated. Regards Des Norton |
#3
| |||
| |||
|
|
Have you created a COM Callable Wrapper (CCW)? COM Callable Wrapper (http://msdn.microsoft.com/library/de...rdwrappers.asp) How to call a Visual Basic .NET assembly from Visual Basic 6.0 and how to call a call Visual Basic COM component from Visual Basic .NET (http://support.microsoft.com/default...en-us;817248#6) -- Darren Green http://www.sqldts.com http://www.sqlis.com "Des Norton" <desREMOVEnortonUPPERCASE (AT) gmail (DOT) com> wrote in message news:e2RwHLX1FHA.1256 (AT) TK2MSFTNGP09 (DOT) phx.gbl... Hi NG We have a VB6 ActiveX DLL which we use from an ActiveX script in a DLL Set Obj = CreateObject("Library.Class") Obj.DoSomething Set Obj = Nothing We now have a new .Net Library that we would like to access in the same manner. Unfortunately we get an "ActiveX component can't create object" Error. Any ideas would be greatly appreciated. Regards Des Norton |
![]() |
| Thread Tools | |
| Display Modes | |
| |