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

  • Thread starter Thread starter Cathey
  • Start date Start date
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
 
Back
Top