我尝试添加一个 COM-Control。我采取的步骤:
1. 在工具箱中单击鼠标右键
2. 选择 COMComponents 选项卡,然后选择“Adobe PDF Reader”
3. 单击“确定”按钮
4. 现在尝试将 Adobe PDF Reader 控件拖放到用户控件中-> 失败错误:
"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)'"
我现在能做什么?
提前感谢每个回答。
问候,乔