An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in

C

Cathey

Hi,

I am trying to use OCX control(CAPUTIL.ocx) in my .NET application
using C#.

public CAPUTILLib.Switcher SwitcherCtrl;
SwitcherCtrl = new CAPUTILLib.SwitcherClass();
SwitcherCtrl.CardName="609";

I am getting the following error, when ever I assign a "609" to the
CardName.


An unhandled exception of type
'System.Runtime.InteropServices.COMException' occurred in

mscorlib.dll

Additional information: Catastrophic failure

Your help will be really appreciated.

Thanks
Karthey
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top