Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have to remotely login to other machine and i need to open the services icon on my desktop. After opening that, i will be having multiple servers on left side of window and i want each server's first service status (Running, Stopped,....) into datagridview.

Can anyone please help me how to achieve this task? I'm new to .net so will anyone let me know the starting process how to start so i can move ahead by trying/learning.

What I have tried:

I have tried the different scenario where it's opening the control panel services of my system. Where i need to open it manually - it's not working.
Posted
Comments
StM0n 15-Feb-16 1:14am    
Split your requirements... try to obtain the information and then put it into your grid. To retrive the information you could use

- ServiceController
- WMI

Does this help?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900