I would like to create an app that checks whether an application is running or not on Win 2K server. For example, if you open the task manager (ctrl-alt-del) the applications tab displays a list of apps (or tasks) and their correspnding status (running or not responding). Basically, what I'd like to do is create a VB app that accesses that information, checks for a particular application, reviews its status, and:
if it's not running, starts it
if it's not responding, ends it and restarts it
if it's running, leaves it be.
(sort of like managing services, but the apps in question doesn't run reliably as a service)
Any feedback/solutions are greatly appreciated,