Viewing Adobe PDF documents in a VB .Net windows application

Ask a Question related to Adobe Acrobat SDK, Design and Development.

  1. #1

    Default Viewing Adobe PDF documents in a VB .Net windows application

    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
    Matt_Fothergill@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. Viewing Results of CSS Styles Application
      Most of the time when I create a style in CSS and apply it, I see the change in the Dreamweaver document. However, when I use a class and the block...
    2. Viewing Online Flashpaper Documents Generated by CF
      Hi, Can anybody tell me what is the minimum version of Flash needed on a browser in order to view CF generated Flashpaper web pages? Is Shockwave...
    3. “Too Few Operands” message when viewing PDF documents with Commenting
      I have certain PDF documents that are sent to my clients for checking and commenting before issuing final artwork. The PDF documents are created by...
    4. Viewing PDF documents in Acrobat 6 Pro
      I have recently moved from Acrobat 5.0.5 to 6 Pro (6.0.2). In Acrobat 5.0.5 the preview that I had was either totally antialised or without...
    5. Director TechNote - Viewing PFD documents
      Went to Director TechNote titled "Vidwing PDF documents directly on the stage using Adobe's Active X control" Unless I overlooked something the...
  3. #2

    Default Re: Viewing Adobe PDF documents in a VB .Net windows application

    Only Acrobat 7.0 Type Library is needed
    Hallo@adobeforums.com Guest

  4. #3

    Default Re: Viewing Adobe PDF documents in a VB .Net windows application

    Look at Adobe's IACReference.PDF
    chicks@adobeforums.com Guest

  5. #4

    Default Re: Viewing Adobe PDF documents in a VB .Net windows application

    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
    Matt_Fothergill@adobeforums.com Guest

  6. #5

    Default Re: Viewing Adobe PDF documents in a VB .Net windows application



    Is there anywhere I can find examples?




    In the Acrobat SDK.
    Bernd Alheit Guest

  7. #6

    Default Re: Viewing Adobe PDF documents in a VB .Net windows application

    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
    Matt_Fothergill@adobeforums.com Guest

  8. #7

    Default Re: Viewing Adobe PDF documents in a VB .Net windows application



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




    "..."?
    Bernd Alheit Guest

  9. #8

    Default Re: Viewing Adobe PDF documents in a VB .Net windows application

    Sorry, here's the code - gApp = CreateObject("AcroExch.App")
    gPDDoc = CreateObject("AcroExch.PDDoc")
    Matt_Fothergill@adobeforums.com Guest

  10. #9

    Default Re: Viewing Adobe PDF documents in a VB .Net windows application

    This requires a installation of Adobe Acrobat, not Adobe Reader.
    Bernd Alheit Guest

  11. #10

    Default Re: Viewing Adobe PDF documents in a VB .Net windows application

    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
    Matt_Fothergill@adobeforums.com Guest

  12. #11

    Default Re: Viewing Adobe PDF documents in a VB .Net windows application

    Look at the sample AcrobatActiveXVB in the Acrobat SDK.
    Bernd Alheit Guest

  13. #12

    Default Re: Viewing Adobe PDF documents in a VB .Net windows application

    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.
    Michael_Marden@adobeforums.com Guest

  14. #13

    Default Re: Viewing Adobe PDF documents in a VB .Net windows application

    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
    Rajaraman_Ramasamy@adobeforums.com Guest

  15. #14

    Default Re: Viewing Adobe PDF documents in a VB .Net windows application

    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
    Aandi_Inston@adobeforums.com Guest

  16. #15

    Default Re: Viewing Adobe PDF documents in a VB .Net windows application

    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
    Rajaraman_Ramasamy@adobeforums.com Guest

  17. #16

    Default Re: Viewing Adobe PDF documents in a VB .Net windows application

    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
    Aandi_Inston@adobeforums.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139