In runtime, you can compile (beginning with VFP6, SP3) or you can use the new EXECSCRIPT() function in VFP 7.
>Yes, I am running BUILD EXE from an EXE come to think of it. My EXE runs my form that runs my PRG that has the BUILD EXE in it. So I guess I am doing something that cannot be done.
>
>I guess BUILD EXE is only to be run from the command window. Or from a stand-alone PRG. I might as well remove that code from my PRG. I can't think of any way around this one.
>
>I suppose I could write a PRG from that extracted code I am going to pull out of the errant PRG and run it as a stand-alone PRG to be run whenever I run the EXE that comes before it.
>
>Thanks for pointing that out. I think I see why that is a no-know.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer