Hello,
i have a vb.net project with a reference to an ActiveX object (ocx).
If i try to use the ocx from vb6 project (adding the reference) it
works ok (using CreateObject).
In vb.net,
the CreateObject works ok, the object gets initialized...
but when i try to run an object method or change an object property
vb.net raises an InteropServices.COMException... "Catastrophic Error /
failure"...
The app type is console.
If i create a windows forms application and i add the ocx reference by
adding this one to the toolbar (personalize toolbar components)... it
runs ok using the name of the object dropped to the windows form.
But i can't use CreateObject for initialize the ocx object... and i
need to do this...
Any sugestions will be appreciated...
Thanks in advance,
Jorge.