Adding Adobe PDF Reader COM-Control to WinForm Fails

I am trying to add COM-Control. The steps that I take:
1. right click on the toolbar
2. select the COMComponents tab and there "Adobe PDF Reader"
3. click "OK"
4. Now try to drag and drop the Adobe PDF Reader Control into UserControl -> Failed with error:

"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)'"

What can i do now?

Thanks for every warning in advance.

Cheers, Joe

+4
source share
2 answers

Try the following Open Acrobat Reader | Edit | Settings | Internet Check the box "Show PDF in browser"

you will also need debugging using 32-bit settings (x86)

0
source

Enable pdf for the browser by following these steps in Internet Explorer: https://helpx.adobe.com/acrobat/using/display-pdf-in-browser.html

The answer is the same as Ahmads, but the way it is implemented in the new versions is different.

0
source

All Articles