I have never used a framework and often just execute my stuff in the VFP environment. When I do an exe for others to use I am never sure what commands to include to shut things down. Sometimes I end up with applications that can't be shut down without killing them in Task Manager and sometimes I end up with code that forces me to re-execute "Modify Project" after a run after build.
My Simple applications has a main.prg that calls a main form which calls two other modal forms. Each form shuts down with a thisform.release. The main.prg file looks like this:
USE Simple DO FORM Main READ events CLEAR events CLEAR PROGRAM RELEASE all
Right now this setup forces me to goto Program|Cancel before I get the command window back after a run.
Some input from a pro would save me a lot of trial and error!
Thanks in advance,
Joe
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---