Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
2.33/5 (2 votes)
See more:
Upgraded our application to 64 bit and updated the usercontrol (which uses Interop.AcroPDFLib.dll for showing PDF docs) project build platform target to 'Any CPU'.
After that application is crashing while loading the PDF user control.

What I have tried:

Installed Adobe reader DC and created new interop files.
Posted
Updated 18-Apr-17 2:38am

1 solution

Adobe ActiveX controls you need to show this in the usercontrol? I would suggest in first place to just let the shell-command handle the default windows environment pdf opener so you don't have to do this in you control. But of course I can't make that decision for your application.

If you want a good solution for getting ride of it read this article: ASP-NET-PDF-Viewer-User-Control The example is vb but wouldn't be a problem for you I quess.

Also I converted my pdf to html because every modern browser has support.
This is also way easier to implement in your user control because you already have standards for this. I use: pdf to html[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900