Hello Matthew,

Thanks for the links. I got it working with the
http://forums.adobe.com/thread/488335 article.

Here is the code I used:

lcFile = 'test.pdf'

Thisform.WebBrowser.Navigate(lcFile + '#zoom=100')

Thanks for your help,
Kent

-----Original Message-----
From: profox-boun...@leafe.com [mailto:profox-boun...@leafe.com] On Behalf
Of Jarvis, Matthew
Sent: Thursday, September 08, 2011 6:23 PM
To: profox@leafe.com
Subject: RE: Ole Web Browser control

> -----Original Message-----
> From: profoxtech-boun...@leafe.com 
> [mailto:profoxtech-boun...@leafe.com]
> On Behalf Of Kent Belan
> Sent: Thursday, September 08, 2011 1:40 PM
> To: profoxt...@leafe.com
> Subject: RE: Ole Web Browser control
> 
> I found a very interesting article at
> http://www.berezniker.com/content/pages/visual-foxpro/view-pdf-vfp-for
> m
> 
> But I can't get it to work. The AdjustPDFView method always goes to 
> the catch section form me.
> 
> So close ... Yet so far away ...


I gave this just a passing look, but might be helpful to see:

http://forums.adobe.com/thread/488335


and I found this:

Many of these parameters can be passed to the following core API functions
(see the Acrobat and PDF Library API Reference for details):
AVDocOpenFromFileWithParamString
AVDocOpenFromASFileWithParamString
AVDocOpenFromPDDocWithParamString
●When opening a PDF document from a command shell, you can pass the
parameters to the open command using the /A switch using the following
syntax:
<path to Acrobat> /A "<open parameter>=OpenActions" "<path to PDF file>"
For example:
Acrobat.exe /A "zoom=1000=OpenActions" "C:\example.pdf"


Thanks,
 
Matthew Jarvis || Business Systems Analyst IT Department McKenzie-Willamette
Medical Center 1460 G Street, Springfield, OR  97477 || Ph: 541-744-6092 ||
Fax: 541-744-6145

--------------------------------------------------------------------------
Disclaimer: This electronic message may contain information that is
Proprietary, Confidential, or legally privileged or protected. It is
intended only for the use of the individual(s) and entity named in the
message. If you are not an intended recipient of this message, please notify
the sender immediately and delete the material from your computer. Do not
deliver, distribute or copy this message and do not disclose its contents or
take any action in reliance on the information it contains.

[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/AF53DC3622CF4930B250FF241C7FD5CC@LaptopW7
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to