See
ShellExecute in the Win32API section of UT.
>Do you have any ideas on how I can display a PDF file on a form or launch the pdf viewer??
>
>Thanks for the reply
>
>>>Has anyone put a PDF file in a general field? I need to display a PDF page on a form.
>>>
>>>TIA
>>
>>No but I have put a Word doc into a MEMO field using FileToStr(). Then use StrToFile() to recreate it with a temporary file name for VFP Ole automation. The final step of automation is to prompt the user for a filename to save the file as [along with the path]. That way the user never gets to tamper with the original doc.
>>
>>You could use the same technique for any kind of file including PDFs.
Mark McCasland
Midlothian, TX USA