>hi all,
>
>when i run myform at vfp8, i have the (command screen) at myform.
It returns to the command window, if you run the form, right? In this case, if you put it in an EXE, it will exit immediately.
The solution is to use READ EVENTS to wait for user input.
Use CLEAR EVENTS in the procedure which you call from "File | Quit".
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)