Yes. You can look into WMI. Another option is to have a second service monitor the first. Keep track of the processor time the second application uses. If it doesn't change over a period of time, then raise the alert.
>Hi,
>
>I have a program (VFP9) running on a custom computer 24/7. It is very important for the customer that the program never stops or that someone is alerted if it stops. But sometimes, for whatever reasons, it will hang. Is there a way to monitor the program from a Windows service or whatever other way?
>
>TIA.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer