首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >向WinForm添加Adobe PDF Reader COM控件失败

向WinForm添加Adobe PDF Reader COM控件失败
EN

Stack Overflow用户
提问于 2011-10-18 17:33:19
回答 2查看 2.5K关注 0票数 4

我尝试添加一个COM控件。我采取的步骤如下:

  1. 在工具箱中右键单击
  2. 选择COMComponents选项卡,然后"Adobe PDF Reader“
  3. 单击"OK”按钮
  4. 现在尝试将Adobe PDF Reader控件拖放到UserControl中-->失败并出现错误:

<代码>G29

"Failed to create component 'AxHost'. The error message follows: 'System.Runtime.InteropServices.COMException (0x80004005): A wrapper assembly is not registrated for this type library. at System.Windows.Forms.Desgn.DocumentDesigner.AxToolboxItem.CreateComponentsCore(IDesignerHost host) at System.Drawing.Design.ToolboxItem.CreateComponentsCore(IDesignerHost host, IDictionary defaultValues) at System.Drawing.Design.ToolboxItem.CreateComponents(IDesignerHost host, IDictionary defaultValues) at System.Windows.Forms.Design.OleDragDropHandler.CreateTool(ToolboxItem tool, Control parent, Int32 x, Int32 y, Int32 width, Int32 heigth, Boolean hasLocation, Boolean hasSize, ToolboxSnapDragDropEventArgse)'"

我现在能做什么?

感谢每一个提前收到的回复。

你好啊,乔

EN

回答 2

Stack Overflow用户

发布于 2013-07-24 22:48:10

尝试以下Open Acrobat Reader | Edit | Preferences | Internet复选框在浏览器中显示PDF

您还必须使用32位设置(X86)进行调试

票数 0
EN

Stack Overflow用户

发布于 2015-07-22 19:24:25

在Internet Explorer中按照以下步骤为浏览器启用pdf:https://helpx.adobe.com/acrobat/using/display-pdf-in-browser.html

答案与Ahmads相同,但在较新版本中使用的方法不同。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/7805168

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档