>>>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.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)