Hi Patrick,
If you can obtain a handle for this window, then you may try to use the TerminateProcess API.
- call GetThreadProcessId to get the identifier for a process linked to this window
- call OpenProcess to get the process handle
- call TerminateProcess with this handle
FoxPro code sample applying this technique:
Terminating all running applications from a VFP programhttp://www.news2news.com/vfp/?example=243