Discussion:
Viewing Adobe PDF documents in a VB .Net windows application
(too old to reply)
M***@adobeforums.com
2006-08-09 20:09:36 UTC
Permalink
Hi,

In order to open and view a PDF document in a VB .Net windows application what libraries are needed?

I have Adobe Acrobat Reader 7.0.5 installed and within Visual Studio .Net 2003 I have added a number of references to the project for adobe/acrobat:

Acrobat Access 3.0 Type Library
Adobe Acrobat 7.0 Browser Control Type Library 1.0
Adobe Acrobat 7.0 Type Library
PDFShellServer 1.0 Type Library

Do any of these provide the functionality to open and view PDF documents in VB .Net or would I need to purchase extra?

Is there any documentation that explains how to do this kind of thing?

Thanks

Matt
H***@adobeforums.com
2006-08-09 21:00:54 UTC
Permalink
Only Acrobat 7.0 Type Library is needed
c***@adobeforums.com
2006-08-10 05:35:15 UTC
Permalink
Look at Adobe's IACReference.PDF
M***@adobeforums.com
2006-08-11 09:40:23 UTC
Permalink
Hi,

Thanks for the replies. The IACReference.pdf explains the methods and properties but doesn't seem to have any code examples of how to open and view PDF documents in a VB .Net application. Is there anywhere I can find examples?

Thanks

Matt
Bernd Alheit
2006-08-11 09:52:40 UTC
Permalink
Is there anywhere I can find examples?




In the Acrobat SDK.
M***@adobeforums.com
2006-08-14 10:01:30 UTC
Permalink
Hi,

When i try to do CreateObject("...") I get an error: "Cannot create ActiveX component".

Any ideas on why this is happening and how to correct it?

Thanks

Matt
Bernd Alheit
2006-08-14 10:06:40 UTC
Permalink
When i try to do CreateObject("...") I get an error: "Cannot create ActiveX
component"




"..."?
M***@adobeforums.com
2006-08-14 10:20:37 UTC
Permalink
Sorry, here's the code - gApp = CreateObject("AcroExch.App")
gPDDoc = CreateObject("AcroExch.PDDoc")
Bernd Alheit
2006-08-14 10:29:30 UTC
Permalink
This requires a installation of Adobe Acrobat, not Adobe Reader.
M***@adobeforums.com
2006-08-14 10:34:58 UTC
Permalink
What i'm trying to do is display a multiple page pdf in a VB.Net form (embed the adobe reader in the form) so that the user can browse the document while completing a checklist on the other half of the form. Is it not possible to do this with the FREE adobe reader 7.0.5 installed?

Thanks

Matt
Bernd Alheit
2006-08-14 11:44:13 UTC
Permalink
Look at the sample AcrobatActiveXVB in the Acrobat SDK.
M***@adobeforums.com
2006-08-18 13:25:31 UTC
Permalink
It should be possible to use the free Reader, if you only want to open and print pdf files.

I have been using the Adobe Acrobat ActiveX (COM) with VB.
(Menu: Project / Add Reference / COM tab / select "Adobe Acrobat 7.0 Browser Control Type Library 1.0" ). You then drag it from the Toolbox to your form. You then have access to code commands to size it, make it visible (or not) and to Load pdf files. You can display the file within a window on your form (Load). You can also copy/paste text from the pdf file to the other form elements.

I have tried various combinations of Reader or Pro on VB6 or VB2005-NET. For Reading and Printing it seems to work well. The Pro and SDK kits will allow more functions, but you do not apparently need them.
R***@adobeforums.com
2006-09-08 05:38:04 UTC
Permalink
Hi,

Where could I download the Acrobat SDK version 7.0.5. I tried the link available under "Downloads...", but when I goto the actual download page, it says "unauthorised access". But I have registered myself as a adobe user.

Please help me to work my way out in downloading Acrobat SDK.

Thanks
Raja
A***@adobeforums.com
2006-09-08 09:47:55 UTC
Permalink
Have you paid to join ASN, or paid for an SDK subscription? If not the
entire SDK download is not available to you, though smany single
documents are.

Aandi Inston
R***@adobeforums.com
2006-09-10 21:25:18 UTC
Permalink
Hi Aandi,

We are using Acrobat version 7.0.5. Say if I purchase ASN now, will the future version upgrades come free to me... or do I need to purchase some kind of upgrade licence?

Thanks
Raja
A***@adobeforums.com
2006-09-18 08:10:14 UTC
Permalink
If you join ASN, there is an annual membership fee.
I don't know the arrangement for the $99 fee, but it is described as
"subscription" suggesting it has a limited life.

Aandi Inston

Loading...