Closing Windows

From: Elton George

Date: 7 Sep 2003


Hello People

I have  a progress programs which talks to WInFax Pro to send faxes. While 
sending attachments via win fax it opens the associated program, but leaves 
it running even after it finishes. How could I close these program.
Only in formation I will know is that it would be an acrobar reader.  I 
suppose I could use FindWindowA and find the handle of the application
Then may be use CloseWindow , but this will only minimized the window. If I 
were to use the API on global-shared - How do I get the PID from application 
name.

Thanks for all you help

Regards

Elton
(Progress 9.1D on Win 32) - WinFax Pro SDK 8.0 for Winfax 10.1

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus