Article View: adobe.reader
Article #4614Adobe Reader API
From: Robert_Helperin
Date: Mon, 06 Oct 2008 20:01
Date: Mon, 06 Oct 2008 20:01
22 lines
1444 bytes
1444 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
which gives me "Runtime Error 424, Object Required," and I've tried:
Dim AcroPDDoc As Object
Set AcroPDDoc = CreateObject("AcroExch.PDDoc")
Set pdDoc = CreateObject("AcroExch.PDDoc")
which gives me "Runtime error 429, Activex component can't create object."
I've made sure all References to anything Adobe or Acrobat are checked off (I'm programming in MS Access using VB).
What am I missing?
Thanks.
(PS I do own Acrobat Standard that I use on my office machine and I can't get the code to work there either. But I need to be able to use Reader for the project I'm working on.)
Technical Details
Message-ID:
<59b6acef.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!feeder.erje.net!border1.nntp.ams.giganews.com!nntp.giganews.com!zen.net.uk!dedekind.zen.co.uk!news4us.nl!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: 10273d,1d030af1eac752e7,start X-Google-Attributes: gid10273d,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Robert_Helperin@adobeforums.com Newsgroups: adobe.reader Subject: Adobe Reader API Message-ID: <59b6acef.-1@webcrossing.la2eafNXanI> Date: Mon, 6 Oct 2008 13:01:01 -0700 Lines: 21 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!border1.nntp.ams.giganews.com!nntp.giganews.com!zen.net.uk!dedekind.zen.co.uk!news4us.nl!webcrossing X-Original-Lines: 27