>Clarissa,
>
>I'm not sure this will help in your case, but you might try the following:
>
>SET LIBRARY TO FOXTOOLS
>
>x=regfn("FindWindow","CC","I")
>z=callfn(x,0, cWindowTitle)
>y=regfn("PostMessage","IIIL","I")
>=callfn(Y,z,274,61536,0)
>
>If the application has a window with a unique caption, you can find that window by its caption (cWindowsTitle variable) and send a message to that window that it has to close.
>
Walter, it's no longer necessarry to use FoxTools to register these functions. The API Functions FindWindow and SendMessage can be declared and used directly. A seaerch here on the function names will turn up sample code.
Erik Moore
Clientelligence