Problem with OCX component: property OcxState not setuped

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
 

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