AxInterop.SHDocVw.dll:system.windows.forms.dll中发生未处理的“System.Runtime.InteropServices.COMException”类型异常 [英] AxInterop.SHDocVw.dll : An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in system.windows.forms.dll

查看:125
本文介绍了AxInterop.SHDocVw.dll:system.windows.forms.dll中发生未处理的“System.Runtime.InteropServices.COMException”类型异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为我的Windows应用程序使用AxWebBrowser控件。相同的控件成功运行一段时间,有时它显示异常,如

未处理的异常system.windows.forms.dll中出现'System.Runtime.InteropServices.COMException'类型

其他信息:未注册的课程

在加载表单时代码行中出现:

 

提前致谢。

Thanks in advance.

 

推荐答案

您好vetrivelmp,

Hi vetrivelmp,

您是否正在尝试在另一个平台上调试相同的应用程序(例如,从32位到64位操作系统),如果是这样,请查看此主题:

http://social.msdn.microsoft.com/Forums/ en-US / netfx64bit / thread / 480bb936-a4df-4457-bd9b-bb53c55f7a32

Are you trying to debug the same applications on another platform(eg. from 32bit to 64bit OS ), if so, please have a look at this thread: http://social.msdn.microsoft.com/Forums/en-US/netfx64bit/thread/480bb936-a4df-4457-bd9b-bb53c55f7a32

为什么使用asWebBrowser而不是WebBrowser控件?

Why do you use asWebBrowser instead of WebBrowser control?

我们很乐意在您提供可以重现问题的代码或样本后立即为您提供帮助。没有您的代码,很难找到根本原因。

We would be happy to help you as soon as we have your code or sample that can reproduce the problem. It's hard to trace the root cause without your code.

此致,


这篇关于AxInterop.SHDocVw.dll:system.windows.forms.dll中发生未处理的“System.Runtime.InteropServices.COMException”类型异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆