System.Windows.Forms.AxHost.InvalidActiveXStateException was unhandled
23,402
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()
Author by
Nisar
Updated on October 01, 2020Comments
-
Nisar over 3 years
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.