Embedded Adobe Reader

Posted on 2008-02-11
Medium Priority
Last Modified: 2011-09-20
I have a VB 2005 WinForm app. In it I had an embedded Adobe Reader 8.1.1. It was working fine. Recently my client's computers automatically upgraded to Acrobat Reader 8.1.2 and then my app stopped working. I think I have to add Adobe Reader 8.1.2 to my app so that it has the same version as what's installed on my client's pc's. The problem is that I can't remember how I added it in the first place. I updated to Acrobat Reader 8.1.2, but when I right-click on the Toolbox and click on "Choose Items", I can't see it in either the ".NET Framework Components" or "COM Components" list. Can anyone remind me how to add it to a WinForm app again? Thanks
Question by:SETP
LVL 96

Expert Comment

by:Bob Learned
ID: 20868851
It is tricky working with COM type libraries, especially when GUIDs change.  A lot of times it is better to use late-bound class instances, so that you don't have problems, since the prog IDs don't usually change as much as GUIDs do.

The type library should be on the COM components tab (Adobe PDF Reader).


Accepted Solution

StanicDejan earned 1500 total points
ID: 20873402
To avoid all these troubles I'd recommend an alternative approach:

Simply drop 'WebBrowser' control on your form (let's say you name it 'wb').

In appropriate place write the following:

This way, you'll never have to worry about versions again - heck, it'll work even if user has an alternative PDF viewer installed.


Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
An ASP.NET Web Form User Control is not newly introduced in ASP.NET. In fact, it was an old technology yet still playing a role to generate web content, especially when we want to use it to have a better and easy way to control part of the web conte…
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.
Free Data Recovery software is an advanced solution from Kernel Tools to recover data and files such as documents, emails, database, media and pictures, etc. It supports recovery from physical & logical drive after a hard disk crash, accidental/inte…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question