How to Open Pdf file in Internet Explorer?

How can I support in-browser display of a PDF file in Internet Explorer 64-bit

  • Adobe does not seem to support the display of PDFs in the browser when using the 64-bit version of Internet Explorer. Once a pdf link is clicked the 64-bit Internet Explorer will always span a new Adobe window to display the pdf. The 32-bit Internet Explorer will display the pdf embedded in the browser itself. I noticed this issue when using the WebBrowser control in a 64-bit complied WinForms .NET application. I don't believe it's possible to use the 32-bit WebBrowser control in the 64-bit application so I am looking for some solutions to this problem even if it requires the use of a third party plug-in. Any suggestions would be greatly appreciated. Thanks, F.

  • Answer:

    If you platform target needs to be x64, and your need to use an x64-incompatible feature, then clearly you have an issue. You're going to have to compromise on one side or the other. Alternatively, you could look into opening a separate process for the PDF viewer and setting the parent window of the newly spawned process' window to your container control. This will have the effect of "embedding" the window within your control. You can then forcefully remove the border and maximize it. Windows API, to the rescue! Check out http://blog.kowalczyk.info/software/sumatrapdf/free-pdf-reader.html if you decide to go this route, which you can probably distribute without any trouble.

fin at Stack Overflow Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.