Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / January 2008

Tip: Looking for answers? Try searching our database.

Searching for text in a pdf from Access

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
@RobinW - 21 Jan 2008 05:44 GMT
I am currently using 2007 but will be developing a new Access db in 2003 and
am wanting to know about the Acrobat object model.

I am trying to create a search from Access in a list of Adobe Acrobat 8.0
files for a particular word or phrase.  The results of this search will be
written into a table and timestamped and including the search string for
future reference.

I have included the references for Acrobat into the VBE: 1) Adobe Acrobat
8.0 Type Library and 2) Acrobat Access 3.0 Type Library and messed around
with them a bit with the following code:

Public Sub AcrobatTest()

   Dim acbDoc As Acrobat.AcroAVDoc
   Dim i As Integer
   
   Set acbDoc = "E:\drivers\printer\X1100\pubs\ENGLISH\LXBKuser.pdf"
   
   i = 0
   
   With acbDoc
       Do While .FindText("printer") = True
           If .FindText("printer") = True Then
               i = i + 1
           End If
           
       Loop
   End With
   
End Sub

''

However, I find that my usage of the object leaves something to be desired
and would like help on its usage.  I am only guessing that these references
are correct but it seems that the above is on the right track although with
this I could be creating an infinite loop etc.
Larry Daugherty - 21 Jan 2008 22:29 GMT
There's a chance that you'd find something useful using the Object
Browser in Access in your usage issues.

As far as getting information about the Acrobat Object Model, Acrobat
help files, Adobe  and Acrobat newsgroups or www.adobe.com

*This* newsgroup is about *Access*.

HTH
Signature

-Larry-
--

> I am currently using 2007 but will be developing a new Access db in 2003 and
> am wanting to know about the Acrobat object model.
[quoted text clipped - 34 lines]
> are correct but it seems that the above is on the right track although with
> this I could be creating an infinite loop etc.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.