Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 758817
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T15:31:28+00:00 2026-05-14T15:31:28+00:00

When I try to instantiate a PDF browser control like this in C#: AcroPDFLib.AcroPDFClass

  • 0

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.

When I run Visual C# 2008 Express Edition as administrator I get another error message:

Unable to cast COM object of type ‘AcroPDFLib.AcroPDFClass’ to interface type ‘AcroPDFLib.IAcroAXDocShim’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{3B813CE7-7C10-4F84-AD06-9DF76D97A9AA}’ failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

This happens at the next line when I try to use the object:

acrobat.LoadFile("book.pdf");

I can’t figure out what is wrong. Help most appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T15:31:29+00:00Added an answer on May 14, 2026 at 3:31 pm

    These are the steps to use the Adobe PDF Reader control:

    1. Create a new Windows Forms Application: File → New Project… → Windows Forms Application → OK
    2. Add a reference to the Adobe Acrobat 7.0 Browser Control Type Library 1.0: Project → Add Reference… → COM → Adobe Acrobat 7.0 Browser Control Type Library 1.0 → OK
    3. Add the Adobe PDF Reader control to the Toolbox: Tools → Choose ToolBox Items… → COM Components → Adobe PDF Reader → OK
    4. Drag an Adobe PDF Reader control from your toolbox into the Form

    I’m not sure why but I have to run Microsoft Visual C# 2008 Express Edition with administrative privileges to get this working. With a limited user I get this message in the designer:

    Error HRESULT E_FAIL has been returned from a call to a COM component.

    Note that after adding the Adobe PDF Reader control to your toolbox a new .NET interop assembly has been created with the name AxInterop.AcroPDFLib.dll. A reference to this new assembly has been added to your project references.

    API reference documentation for the Adobe PDF Reader control is located here: http://icio.us/ajukkr

    This forum thread provides some more useful information: http://forums.adobe.com/thread/438362

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried this and I get an error when I try to instantiate class
Try loading this normal .jpg file in Internet Explorer 6.0. I get an error
In PHP, if you try to instantiate a new SoapClient , and the WSDL
Every time I try to instantiate a certain model and use it, like for
I try to instantiate an instance of SPSite on the farm server in a
Try as I might I cannot get my head around what the IteratorIterator class
Try to see which cast is faster (not necessary better): new c++ case or
Try as I might, I can't get a JNLP file to run locally (via
try: spam.foo except AttributeError: do_somthing() (Is it wise to check an attribute like that
I try to instantiate a instance of SPSite on the farm server in a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.