These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Opening a PDF using URL with VB Script

zieglers
Registered: Sep 14 2007
Posts: 4

Hi,
 
I'm trying to open a pdf using URL via OLE Automation. First I tried to following script:
 
Dim doc
Set doc = CreateObject("AcroExch.AvDoc")
doc.Open "{URL_2_PDF}", "My Test PDF"
 
However, I'm getting error all the time. But when I use Acrobat Menu --> Open and enter my URL_2_PDF there, it opens without a problem.
 
Can you please post a sample VB script opening a pdf document given its URL?
 
Thanks,
zieglers
 
P.S. My Acrobat version is 8.

My Product Information:
Acrobat Pro 8, Windows
lkassuba
ExpertTeam
Registered: Jun 28 2007
Posts: 3636
Hi zieglers,

Check out the PDF Open parameters at:
[url=http://partners.adobe.com/asn/acrobat/sdk/public/docs/PDFOpenParams.pdf]http://partners.adobe.com/asn/acrobat/sdk/public/docs/PDFOpenParams.pdf[/url]

Lori

Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.