View Single Post
  #1 (permalink)  
Old August 11th, 2003, 10:05 AM
karthey karthey is offline
Registered User
 
Join Date: Jul 2003
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default 'System.Runtime.InteropServices.COMException' occu

Hi,

I am trying to use OCX (CAPUTIL.OCX) control 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 is really appreciated.

Thanks
Karthey