kryptonkal

We all know how easy it is to display a pdf in a C# application, but the problem that I can't seem to figure out is how to create a reference to any version of Adobe Reader installed on the users machine.

If I use AcroPDF.dll from reader 8, I cannot open a pdf within my application if the user has either a newer or older version installed. Is there any way around this Can I create a reference to any version of Adobe Reader installed on the machine Thanks in advance.


Re: Visual C# General C# and Adobe PDF Reader

Peter Ritchie

You might want to try the Adobe Developer Center




Re: Visual C# General C# and Adobe PDF Reader

kryptonkal

I do not think this is an Adobe issue: Adobe Reader 8 is just my paricular case. Maybe I am asking the question incorrectly. Is there a method in Visual Studio or C# to create a reference to a com object that is not version specific In the event that a new version was installed on the users machine, how can you update the reference to locate the latest version

In my case, if I use reader 7 and then update to reader 8, the reference to the dll is no longer valid. Is there a dynamic method to automatically update the com object   Will isolating the com object be one way to fix this Sorry for any confusion.




Re: Visual C# General C# and Adobe PDF Reader

Eragon

Hi,

Look, I'm not an expert, but I don't think its a C# issue either. It may work (try it, but I wouldn't know myself) if you got hold of a very early version of Adobe Acrobat Reader 3 or 4, and found the AcroPDF.dll for that application and used that instead of the Adobe Reader 8.

Hope this helps.

Eragon.