Skip to main content
December 18, 2013
Question

why do we need AxInterop.AcroPDFLib.dll to create an adobe reader instance from a .net application

  • December 18, 2013
  • 2 replies
  • 29484 views

why do we need AxInterop.AcroPDFLib.dll to create an adobe reader instance from a .net application, even though the machine has adobe reader installed in it.

This topic has been closed for replies.

2 replies

Participant
March 18, 2015

The reason it did not run on a foreign PC is because you did not or might not have added it as a repository. In visual studio you add this by going to Project->Properties(of the application/solution)->Publish->application files-> change the acrobat dll to include and it should work on other systems.

Legend
December 18, 2013

I'm sorry, I don't understand this question at all. Especially the point about Reader being already installed.

Perhaps we could try these questions as well as any background you might be able to give.

What are your aims?

What is it that you expect to be able to do?

What is it that you have to do?

December 18, 2013

I have a .net application. I have installed adobe reader in my system. In my .net application, I have written code to  use adobe reader to display certain content. But when I  run the application I failed to display the content in the adobe reader, and it showed the following error.

System.IO.FileNotFoundException: Could not load file or assembly 'AxInterop.AcroPDFLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Das System kann die angegebene Datei nicht finden.

File name: 'AxInterop.AcroPDFLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

When I  downloaded AxInterop.AcroPDFLib.dll and  copied it to my application folder  the problem was solved.

But my question is: what is the significance of AxInterop.AcroPDFLib? Why do we need it to use adobe reader from a .net application?

Legend
December 18, 2013

Where exactly did you download AxInterop.AcroPDFLib.dll?