This content has been marked as final. Show 3 replies
I tried to use
App = CreateObject("AcroExch.App")
to suppress the new version warning message(as I am using acobat 6 to open acrobat 8 file), and it works fine. But when I test on the corrupted pdf file, then it will hang forever, as AvDoc.Open will wait for user to press "ok" to pass the return code back to continue run the statement 2.
AvDoc = App.GetActiveDoc
If AvDoc.Open(PDFPath, "") Then
I am not sure if you problem "Some difficult images where encountered..." fall into the same catagory or not. I am still looking for a solution for the corrupted file...
And how does your code work within Acrobat Professional's "Batch Processing" module?
Do you need to recover the pdf files? If so, I think you can try a utility called Advanced PDF Repair to repair your PDF file. It works rather well for my corrupt PDF files. Its web address is http://www.datanumen.com/apdfr/
Hope this will help.