TerminateProcess may be a bit severe, particularly if it is not a child of your app's process. First, I would try sending a WM_CLOSE message to the app's main window. Only when you can't close the app by any other means would I invoke TerminateProcess. Bill Stott, Contractor