Comments don't compile into code and thus don't end up in hte EXE, unless you have Debug set on in which case all code stays in hte Exe to be able to get the debugger to step through code and report error lines etc.
Doing a REBUILD should pack the project and clean out any gunk from VCX/SCX files. When you build do:
BUILD EXE
from RECOMPILE
or use the switch in the project build options.
+++ Rick ---
>I've got an app split into two. One does all the forms, tables and data etc. The second does the reporting.
>
>Unfortunately the reporting exe is nearly as big as the program exe. One of the things I can do is remove alot of the comments within the code and I was surprised that that isn't done when the exe is built. I mostly use classes and when I open the exe with a text editor I can see all my comments sitting there.
>
>Before compiling my final exe I:
>* pack and reindex my vcx
>* pack and reindex my frx
>* rebuild my project
>
>I guess I should make a second copy of my vcx and manually strip out the comments - or is there an easier way?
>
>-- thanks in advance!