Link to home
Start Free TrialLog in
Avatar of john_123
john_123

asked on

Function to highlight stopped services

Hi
I would like to write a utility which will check the status of the services on a server and identify any services which are marked as automatic but have stopped due to some reason or other.

Any pointers to get me going on this one?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of EDDYKT
EDDYKT
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of john_123
john_123

ASKER

Hi, am I supposed to be using the name of the computer in the strComputer variable?
This is Visual Basic Express 2005 and not working properly.
I am used to VB5 and VB6 not really Express - would this function be different in this environment?
I am also writing and testing this code on XP Pro rather than Server 2003 - would this cause problems?
this is vb6 code
I havejust found out that VB Express 2005 has built in components for performance monitoring and service control.
Many thanks anyhow. John.