问题描述
你好.
我有您网站上有关OCR的代码.但这不起作用
抛出AxHost.InvalidActiveXStateException
我有VS2008 Windows 7 x64 Office 2007
下一行
this.axMiDocView1 =新的AxMODI.AxMiDocView();
在我之前的监视列表中
ActionState"axMiDocView1.ActionState"引发了类型为"System.Windows.Forms.AxHost.InvalidActiveXStateException"的异常MODI.MiActionState {System.Windows.Forms.AxHost.InvalidActiveXStateException}
与其他字段相同.
如何解决此问题?
Hello.
I have code about OCR from your site. But it doesnt work
throw AxHost.InvalidActiveXStateException
I have VS2008 windows 7 x64 Office 2007
after line
this.axMiDocView1 = new AxMODI.AxMiDocView();
in watch list I have for ex
ActionState''axMiDocView1.ActionState'' threw an exception of type ''System.Windows.Forms.AxHost.InvalidActiveXStateException''MODI.MiActionState {System.Windows.Forms.AxHost.InvalidActiveXStateException}
and the same for other fields.
how can I fix this problem ?
推荐答案
这篇关于AxHost.InvalidActiveXStateException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!