>>>lnhwnd = Is_Run32("Microsoft FoxPro") && FPW
>>>DECLARE INTEGER SendMessage IN Win32API;
>>> INTEGER hwnd, INTEGER umsg, INTEGER wparam, INTEGER, lparam
>>>lnresult = SendMessage(lnhwnd, 16, 0 , 0) && returns 0 also
>>>I also tried from FPW to use WM_QUIT, WM_DESTROY, WM_QUERYENDSESSION without succeeding.
>>>
>>
>>I'm assuming that there's an extra , in the declare at the end; there are only 4 integer parameters.
>
>Thanks, Ed. I must have mis-typed it. Should've just copied it out of the command window.:-)
>
That's inexcusable George. MVPs are not allowed to make tpyos... ;-)
As long as you can spell FOXTOOLS properly, you'll be forgiven.