Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Putting EXE into Memo field
Message
De
15/10/2007 18:58:40
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
15/10/2007 18:16:03
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01261120
Message ID:
01261153
Vues:
11
>>>>How do I get an EXE into a Memo field? Not the reference, but the actual file. Thanks!
>>>
>>>
>>>replace MyMemo with FileToStr("MyExe.EXE")
>>>
>>>
>>>Better make it a memo binary; a codepage translations is definitely not appropriate here.
>>
>>This doesn't work for me because the files all have the same header that has a bunch of the control characters and this: This program cannot be run in DOS mode. The files will not run in DOS, which is what they need to do. They do run in DOS prior to using FileToStr into the table and then StrToFile out of the table, so putting them into Memo fields corrupts them from working in DOS, I think. Any thoughts? Anyone?
>
>That's precisely why you should use a memo binary, instead of a memo - to avoid corruption.

Okaaaaay. What is memo binary?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform