Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adobe Acrobat Automation

Status
Not open for further replies.

sglab

Technical User
Jul 29, 2003
104
0
0
US
Hello everyone,

Does anyone know how to work with Adobe Acrobat using VB? Please advise on where to get the info, or better yet provide a simple code snippet so I could get the idea.

Thank you in advance.
 
code.com/vb/scripts/BrowseCategoryOrSearchResults.asp?
lngWId=1&blnWorldDropDownUsed=TRUE&txtMaxNumberOfEntriesPerPage=10&blnReset
AllVariables=TRUE&txtCriteria=acrobat+reader&optSort=Alphabetical

there are lots of examples at this site.

you will need the Adobe Active X control. check Adobe.Com
 
Thank you guys for the replies. I'll check the links you posted. The reason I asked about it was that I need to create an application, that will print LotusNotes e-mails with attachments. I don't have problems printing .doc, .xls,.ppt and other files, but I can't find any information on how to create Acrobat Application from VB. What I mean is I don't know its ProgID in order to initialize it as in:

Dim acroapp as Acrobat.CAcroApp

set acroapp = CreateObject("?.?")


and so on.

So, if could give me a tip on what I should substitute those question marks with, I'd really appreciate it.

Thanks again.
 
Declare the variable as you have and then when you create the object use
Set acroapp = CreateObject("AcroExch.App").

That should work.

-kophjager
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top