Not able to instantiate PDF browser control from AcroPDF.dll using COM and .NET interop
Posted
by knut
on Stack Overflow
See other posts from Stack Overflow
or by knut
Published on 2010-04-23T21:48:21Z
Indexed on
2010/04/23
21:53 UTC
Read the original article
Hit count: 1289
When I try to instantiate a PDF browser control like this in C#:
AcroPDFLib.AcroPDFClass acrobat = new AcroPDFLib.AcroPDFClass();
I get a COMException
with this message:
Creating an instance of the COM component with CLSID {CA8A9780-280D-11CF-A24D-444553540000} from the IClassFactory failed due to the following error: 80004005.
I have made a reference to AcroPDF.dll which has the component name Adobe Acrobat 7.0 Browser Control Type Library 1.0.
I can't figure out what is wrong. Help most appreciated!
© Stack Overflow or respective owner