Problem with OCX component: property OcxState not setuped

  • Thread starter Thread starter Juan Carlos
  • Start date Start date
J

Juan Carlos

Hi I have a Ocx developed in V.B. 6 and I'm trying tu use
it in C# application but during the InitializeComponent()
method I get an Exception:

'System.Resources.MissingManifestResourceException' en
mscorlib.dll

Aditional information: Could not find any resources
appropriate for the specified culture (or the neutral
culture) in the given assembly. Make
sure "frmKernel.resources" was correctly embedded or
linked into assembly "Kernel".

This is the code that it try to execute:

this.axMonitorSend1.OcxState =
((System.Windows.Forms.AxHost.State)(resources.GetObject
("axMonitorSend1.OcxState")));

Please help me

Regards
 
Back
Top