>>>>Well, I've done it again and misplaced the information on what API function and constants to use to programatically shut down a running application from another application. It's SendMessage() with certain parameters or something like that ... isn't it? ... George ... you out there? ... George?
>>>>
>>>Hidy Bill,
>>>
>>>Seems like I just answered this one yesterday.:-) Here goes:
>>>DECLARE INTEGER SendMessage IN Win32API;
>>> INTEGER hWnd, INTEGER uMsg, INTEGER wparm, INTEGER lparm
>>>#define WM_CLOSE 0x0010
>>>* lnhWnd is the Window handle
>>>= SendMessage(lnhWnd, WM_CLOSE, 0, 0)
>>>hth,
>>
>>Well ... you probably did. :-) And I'm supposed to have this info around here somewhere ( it's my habit to print every reference to Win32API functions ) but couldn't find it. So, many thanks for answering it anyway. :-) I'd be in real trouble if you all didn't hang around here. :-)
>>
>Hidy Bill,
>
>I think this one's gonna end up an FAQ. This is the second time in two days this question came up. And I know, it's come up at least twice before, so...Maybe I'll get to it tomorrow.
>
>You oughtta get the folks a CDC to pop for a premier membership for you (he said, shamelessly shilling for the UT):-).
Hey there George,
Ya Know ... I believe we have one. I'm just so used to logging on as me I don't think about it. Thanks for mentioning it. Next time I'll log on thru it and save you the trouble. :-))
Thanks,
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.