In addition to all the answers you've got so far, I use this method:

Add the _shellexecute class from the _environ.vcx class library that ships with VFP 9 to a form

Name it 'launcher'

and run this code from the click event of a button:

Local cDocName

cDocName = GetFile('doc,xls,pdf,txt','File','Open',0,'Choose file')
thisform.launcher.shellexecute (cDocName)

You can launch any file with the above extensions that you select with the getfile function

That's all there is to it

Rafael Copquin


On 12/07/2016 18:04, Desmond Lloyd wrote:
Good afternoon,

Does anyone have a quick and dirty way to display a PDF from VFP either in
a form,  or natively using Adobe Reader?

Any assistance would be GREATLY appreciated...

Regards,
Desmond


--- StripMime Report -- processed MIME parts ---
multipart/alternative
   text/plain (text body -- kept)
   text/html
---

[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
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/33edca74-3f5c-3298-5e9e-65e4fc89b...@yahoo.com.ar
** 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