>Anyone know if there is a way of running a string of object code without having to write it out to a .fxp file?
>
>The idea would be to read a program in, compile it, store the compiled object code in a memo field and then run that object code direct from the memo field.
>
>I have tried using both Execscript() and TextMerge() but these only work on source code. The only command that seems to work on object code is DO but that only works from a physical file, unless anyone knows how to redirect a filename to come from a string.
>
>Thanks,
> NickC
Hi Nick,
Just wondering, why would you need to do it this way? If you read the program in, therefore the source code exists initially. Security reasons?
Anyway, why not store FXP in memo field and then write it on disk, execute and delete it?
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison