Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Import PDF into a report?
Message
From
30/09/2020 16:08:51
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01676305
Message ID:
01676359
Views:
43
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform