>George:
>
>Since your answer was so fast, copy the following into a prg and run it.
>
>lcStr = "MESSAGEBOX('It works!', 0, 'Testing')"
>lcProg = "c:\temp\testrun.prg"
>
>lcSafety = SET("Safety")
>SET SAFETY OFF
>
>IF STRTOFILE(lcStr, lcProg) > 0
> COMPILE &lcProg
> DO &lcProg
>ENDIF
>
>SET SAFETY &lcSafety
>
>
>Hope it helps,
>Daniel
Finally got it to work (basically doing what you have above). I could not get the compile command to work in runtime! I was missing the vfp6enu.dll. Plopped that in the app directory and BAM!!...kicked it up a notch :)
Thanks for your help (and everyone elses).
George
Everything we see or seems
Is but a dream within a dream - Edgar Allen Poe