Hi Sergey,
Thank you most sincerely. What you sent me works perfectly!!
In case my user doesn't have Adobe Acrobat Reader on their system, will you please advise me if you know of a way of checking if the reader is loaded onto the users machine?
Regards...Rex
>Hi Rex,
>You can use WSH
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/wsMthRun.aspoShell = CREATEOBJECT('WScript.Shell')
>lcPdfFile = GETFILE("PDF")
>IF NOT EMPTY(lcPdfFile)
> oShell.Run(lcPdfFile)
>ENDIF
or
ShellExecute API #12636.
>
>>Hi Sergey,
>>
>>Thank you for the reply. I looked at the download which is quite interesting but not exactly what I am looking for. I have actually created the PDF documents, no problem. What I want to do now is to display them to my user seemlessly from inside of VFP by just opening the document. I have tried several ways including run /n training.pdf, etc without success.
>>
>>Hopefully, someone may have come across this before and have a simple solution.
>>
>>Thanks again.
>>
>>Rex
>>
Rex Toomey
ISD Port Macquarie NSW
Australia
'Inside every older person is a younger person wondering what happened.'