Forum Discussion

MulgraveTester's avatar
MulgraveTester
Frequent Contributor
8 years ago

Reading PDF documents

I am trying to follow the steps here for reading the contents of a pdf document and have converted the code to VBS. I have done the setup successfully and now I am trying to get the pdf file object. ...
  • MulgraveTester's avatar
    8 years ago

    Fixed thanks to this post by AlexKaras. I was using the latest version pdfbox-app-2.0.3.jar and needed to used the old pdfbox-app-1.8.12.jar

  • MulgraveTester's avatar
    MulgraveTester
    8 years ago

    Looks like my original thread has expanded a bit.

    I use VBScript and the code does apply but it looks like the "set" statement has been omitted

     

    set docObj = JavaClasses.org_apache_pdfbox_pdmodel.PDDocument.load_3("C:\\Users\\Downloads\\Test.pdf")