Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Encrypting or Hiding Fillable PDF Forms
Message
 
 
To
27/02/2004 15:38:23
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00881639
Message ID:
00881701
Views:
15
Absolutely. Just use a plain old memo field. I do it all the time.

REPLACE MemoField with FILETOSTR('C:\DevPath\FileName.pdf')

STRTOFILE(MemoField, ADDBS(GETENV('Temp')) + 'FileName')

... code here ...

ERASE ADDBS(GETENV('Temp')) + 'FileName'

I store the actual filename in another field in the same table where the memo field is along with file size, etc. so I can check the file once I recreate it.

>It is possible to copy a .pdf file using FILETOSTR()?
>
>>Store them in a memo field of a VFP table using FILETOSTR(). Then at runtime when needed, create them using STRTOFILE() and erase them when finished. Works great!
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform