Start looking to be sure all object references are being released before you quit the app. Are you using ON SHUTDOWN to handle the close button? If not you need to use ON SHUTDOWN to run code that will clean up after your app and provide a clean shut down of VFP.