1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | Dim DC : Set DC = CreateObject("Neevia.docCreator") DC.setInputDocument "c:\users\public\test.pdf" DC.setParameter "DocumentOutputFormat", "TXT" DC.setParameter "DocumentOutputName", "testTXT_VB" DC.setParameter "DocumentOutputFolder", "c:\users\public\" Dim RVal : RVal = DC.create Set DC = Nothing If (RVal <> 0) Then MsgBox "Error while parsing the PDF file!!!" Else MsgBox "Done !!!" End If |