>when i run my exe and pressed the ESC, i get "file does not exists". when i run the application in the command window, i don't get that error.
>
>what can i do? pls help. TIA.
You would somehow have to find out what command causes that error.
Try to run the executable from VFP; this may help debugging.
If this doesn't work, debugging can get quite tricky...
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)