Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pdf file in a General Field
Message
From
20/07/2001 11:06:40
 
 
To
20/07/2001 10:55:42
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00533109
Message ID:
00533166
Views:
19
Thanks I just needed to put the full path in the Src property..

Thanks

>Have you copied the file out from your general field onto the HDD?
>
>If so, then you can put the fully qualified path into src property and it should work (it does on my machine)
>
>Will
>
>>Ok I found the PDF.ocx and got it installed. What do I put into the Src property? I tried the file name but nothing happened...
>>
>>THanks for the reply
>>
>>>PDF.ocx
>>>
>>>Add it into VFP's ActiveX controls list in Tools options
>>>
>>>Then drag n drop it into the form
>>>
>>>Then just populate the Src Property the pdf will show automatically
>>>
>>>
>>>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform