Kev. Thats right, Anatoliy enumerates the open application windows looking for the one required but its also available as a download from the UT downloads. See my other reply.
>Forget previous message, it looks like this thread contains the answer to the second question.
>
>Thanks
>Kev
>
>>>Hi
>>>
>>>I'm using FindWindow() to obtain the handle for an application window, however DestroyWindow() will not release it.
>>>
>>>Will DestroyWindow() work for closing down applications?
>>>
>>
>>Kev, AnatoliyM shows how to close another exe in this thread:
Closing an other '.exe' Thread #
761170 Message #
761170>>
>>
>>HTH
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.