Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Encrypting or Hiding Fillable PDF Forms
Message
 
 
À
27/02/2004 15:38:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00881639
Message ID:
00881701
Vues:
16
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform