Click here to Skip to main content
15,892,927 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can I get service list on remote machine including user subscribed as "logon user".
So far I have this:
VB
Dim localServices As ServiceController() = ServiceController.GetServices("myserver")
        For Each localservice As ServiceController In localServices
            ListBox1.Items.Add(localservice.DisplayName)
        Next
Posted
Updated 26-Feb-12 5:58am
v2
Comments
André Kraak 26-Feb-12 11:58am    
Edited question:
Added pre tags
"Treat my content as plain text..." option disabled.

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