Hey Craig,
I'm certain that this automatically happens when you clear the Debug Info checkbox in the project manager. Obviously, using the Project's setting for this will prevent you from accidentally losing your source code, which makes it a nice advantage over doing it manually.
We've sometimes noticed significant EXE size reduction by turning this off.
>You can open forms and class libraries with the USE command and strip the source code out of the Methods field before you build the EXE.
>
>*** WARNING *** Make sure you backup your files first!!!!
-Chuck Urwiler, MCSD, MCDBA