@
@RobinW
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.
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.