>Is there any way to terminate a running Win95 application (such as Internet Explorer) from within a VFP application?
Try the following:
DECLARE INTEGER FindWindow IN Win32API;
STRING @lpClassName, STRING @lpWindowName
* lctitle is the title bar text
lnhWnd = FindWindow(0, @lctitle)
DECLARE INTEGER SendMessage IN Win32API;
INTEGER hWnd, INTEGER uMsg, INTEGER wparm, INTEGER lparm
#define WM_CLOSE 0x0010
= SendMessage(lnhWnd, WM_CLOSE, 0, 0)
It's coming from the search based on a previously given solution.