>Hi,
>
>I have a VFP 5.0 app which sends reports to a fax server. The fax server, FACSys, needs its 'fax monitor' running on the client work station.
>
>Usually the user starts the 'fax monitor' on his workstation at the beginning of the day using an icon on the desktop.
>
>Is there a way of telling if the fax monitor is running from within my VFP 5.0 application? If it is not on, can the app turn it on?
>
>Thanks in advance.
>
>Paul de Niverville
One wayis to use the API FindWindow() function. There is probably an entry in the FAQ about this. You can use the following declaration and code:
DECLARE INTEGER FindWindow in win32api integer,string
nWinHandle = FindWindow(0,"Window Caption to Find")
nWinHandle will contain the window handle number if found, 0 if not found.
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.