>Hi all
>
>This is my first time on the thread and I have a question.
>
>Can a VFP project that has been compiled into an .exe compile a .prg without VFP being loaded first?
>
>I have built an executable from a project that as an end result creates a .prg and runs it. This works fine until I try to run it
>on a computer without VFP loaded onto it. If VFP isn't installed
>and I add the compile .prg command to the .exe code, I get the error "feature not available." If I take the compile command out of the .exe, I get the error "'file'.prg" does not exist.
>
>Thank you!
Welcome to UT, Rod!
In addition to what Mark says - you may not compile your PRG, but read your created code line-by-line and execute those lines. Look also to CODEBLOCK utility (file#
9241) here in Files Section.
Nick
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