Embedded Adobe Reader

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
SETPAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bob LearnedCommented:
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).

Bob
0
StanicDejanCommented:
To avoid all these troubles I'd recommend an alternative approach:

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

2.
In appropriate place write the following:
wb.Navigate(@"C:\PATH_TO\DOCUMENT.PDF");

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

LP,
Dejan
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.