>I have that part of it . i was looking for something that sets up the environmet and one that release everything after the read events.. cause for some reasone the exe likes to hang out there and doesnt get released so i fugured i must be missing something
Try this:
ON SHUTDOWN CLEAR EVENTS
Do form MyProgram.Prg
Read Events
Clear Events
ON SHUTDOWN