Article View: adobe.reader
Article #4616Re: Automating PDF using QTP 9.1
From: Aandi_Inston
Date: Mon, 06 Oct 2008 20:13
Date: Mon, 06 Oct 2008 20:13
17 lines
1216 bytes
1216 bytes
>Regarding Adobe Reader API, I know it's very limited, but all I need to do is open a file and go to a particular page. I've tried:
>
>With AcroPDF1
> .LoadFile "C:\test.pdf"
> .setCurrentPage 3
>End With
How did you choose the object name AcroPDF1?
>
>which gives me "Runtime Error 424, Object Required," and I've tried:
>
>Dim AcroPDDoc As Object
>Set AcroPDDoc = CreateObject("AcroExch.PDDoc")
This would require Acrobat, per the documentation.
Aandi Inston
Technical Details
Message-ID:
<48ea7128.3137801780@adobeforums.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!feeder1.news.weretis.net!newsfeeder.dynfx.net!weretis.net!news4us.nl!webcrossingReferences:
<59b58299.-1@webcrossing.la2eafNXanI> <59b58299.25@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: 10273d,fa5e45f7624d35d1 X-Google-Attributes: gid10273d,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Aandi_Inston@adobeforums.com Newsgroups: adobe.reader Subject: Re: Automating PDF using QTP 9.1 Message-ID: <48ea7128.3137801780@adobeforums.com> Date: Mon, 6 Oct 2008 13:13:00 -0700 References: <59b58299.-1@webcrossing.la2eafNXanI> <59b58299.25@webcrossing.la2eafNXanI> Lines: 18 X-Newsreader: Forte Free Agent 1.21/32.243 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!feeder1.news.weretis.net!newsfeeder.dynfx.net!weretis.net!news4us.nl!webcrossing