我尝试添加一个 COM 控件。我采取的步骤:
1. 右键单击工具箱
2. 选择 COMComponents 选项卡,然后出现“Adobe PDF Reader”
3. 单击“确定”按钮
4. 现在尝试将 Adobe PDF Reader 控件拖放到 UserControl 中 --> 失败错误:
"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)'"
我现在能做什么?
提前感谢每一位回答。
问候,乔
| 归档时间: |
|
| 查看次数: |
3034 次 |
| 最近记录: |