>>>If you ever look into a compiled, non encrypted, VFP EXE you will find all
>>>of the source code, INCLUDING ALL YOUR COMMENTS, from every method in every
>>>form (and I think, vcx) in the exe. It appears that the compiler just
>>>brings in the entire form, source and all.
>>You should be able to remove this with the project option "include debug
>>info". Uncheck this by right clicking on the PM and selecting "properties".
>It has to do with the relative poor job that VFP does when compiling. The
>whole VCX file is uncluded with all the overhead. When you migrate to PRG
>you'll loose the overhead, even if the debuginfo is included.
You can also lose the code by using the .SCX as a table and doing
REPLACE ALL methods WITH ""
, and then building the EXE
without recompiling. However, you need to do this on a copy of your form, or you've lost the code for good.