>Anyone know how to close one VFP application from another? I've tried using FindWindow() to get the other application's hWindow and then DestroyWindow() to close it, and although I'm getting a valid hWindow for the other app DestroyWindow() fails to close it.
>
>Thanks for any help!
The call is to SendMessage() or PostMessage(), passing the window handle and the WM_CLOSE message. There's an FAQ on the subject here.
George
Ubi caritas et amor, deus ibi est