I have PDF's on my forms with the

Shell.Explorer.2 control.  This is on the form as OWB i.e. thisform.owb

Code something like this ...

lcFile="c:\my.pdf"
lcretfile=ALLTRIM(lcfile)+"#toolbar=0&navpanes=1&scrollbar=0&statusbar=0&messages=0&view=fit&pagemode=thumbs&page=1"

DO WHILE (Thisform.oWB.OBJECT.Busy OR Thisform.oWB.OBJECT.ReadyState <> 4) 
        DOEVENTS
ENDDO

Thisform.oWB.OBJECT.Navigate(lcretfile)

DO WHILE (Thisform.oWB.OBJECT.Busy OR Thisform.oWB.OBJECT.ReadyState <> 4) 
        DOEVENTS
ENDDO

Can't remember why the do while bit was required other than it was as this is 
very old code.



-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Desmond 
Lloyd
Sent: 14 July 2016 16:48
To: [email protected]
Subject: Re: more on PDF and VFP

Fascinating.... <Really>

On 14 July 2016 at 07:50, Alan Bourke <[email protected]> wrote:

> > (I have the free version of FoxitReader installed in my computer)
>
> Google Chrome's built-in PDF renderer is based on Foxit, fact fans.
>
> --
>   Alan Bourke
>   alanpbourke (at) fastmail (dot) fm
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** 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