>After my program ends, The Microsoft Visual FoxPro window is still there. How do I close it with my application. In fact How do I prevent it from coming up with my application. I have the following code to shut my application:
>
To prevent the screen from coming up, put a config.fpw either in the project or the working folder with SCREEN=OFF in it. As for the application not closing down, I would assume that there is still something waiting to happen. I would advise not to use QUIT, use CANCEL instead - this will enable you to run from the command window. However, somebody may come up with a reason to use quit, this is just my preference.
See what happens with the config.fpw solution.