System.Windows.Forms.AxHost.InvalidActiveXStateException was unhandled

activex, c#, exception

Solution

Try this,it will solve your problem:

For each and every active x control, it is needed to create it first, so that all the events and handles should be initialized.

So try this:

`axMDocView1.CreateControl()`

Problem

I am continuously struggling with this exception An unhandled exception of type 'System.Windows.Forms.AxHost.InvalidActiveXStateException' occurred in AxInterop.SBXPCLib.dll any help please, am i missing some thing.

Original source

Related problems