Tommy,
Download my DESI example app from the Files section here. It's a bit dated and oversimplified, but it does have a pretty good example MAIN.PRG
>I am creating a new VFP 6.0 program from scratch today.
>
>I've seen many examples of how to start up the system using a MAIN.prg file (using SET's to save the environment, SET's to change the test environment... etc.).... but... I can't seem to quickly find a good example to use.
>
>Do you have a good example?
>
>Thanks...
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05