The PDF files are not on my server but on the customer server. And they don't use any random names; actually they use names that may remind them of the content of the PDF. For example, "BrokenFanServiceReport.pdf"
Thank you for your input.
>Warning: Be sure to name the PDF files with good random GUID-like names and better to prevent hackers from fishing for the PDFs on your server.
>
>>Very interesting approach. Thank you!
>>
>>I have never used a Web Browser control. I will will have to look in the VFP 9 help where to find it.
>>
>>>How about a slightly different approach -- you generate an HTML file for the report, then launch a Web Browser control to view it. The HTML could have the links to the URLs of the PDF files.
>>>
>>>>Hi Martina,
>>>>
>>>>Converting PDF to images will be a manual work (I don't know how it could be done in VFP 9 code). And it would complicated the solution big time.
>>>>
>>>>It would be nice if the VFP 9 report would allow adding a URL pointing to a PDF file saved on the drive. And then would allow a user to click on this URL to open the PDF.
>>>>
>>>>Another thing would be nice if I could open several PDF files at once. I can open one PDF file using this:
>>>>
>>>>lnResult =Shellexecute(0, tcCommand, tcFileName, tcParameter,tcDirectory,tnShowCommand)
>>>>
>>>>Where the tcFilename is the PDF file name.
>>>>
>>>>Thank you.
>>>>
>>>>>Hi,
>>>>>
>>>>>PDF is very complex and many PDF's features VFP doesn't support.
>>>>>May be will better convert each PDF page to image and put to report.
>>>>>
>>>>>MartinaJ
>>>>>
>>>>>>Hi,
>>>>>>
>>>>>>Is there a way to import some PDF files into VFP 9 report? Along with some other fields (e.g. date when PDF was added to a table)?
>>>>>>
>>>>>>TIA
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham