Click here to Skip to main content
12,240,319 members (71,452 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: VB VB.NET service
How can I get service list on remote machine including user subscribed as "logon user".
So far I have this:
Dim localServices As ServiceController() = ServiceController.GetServices("myserver")
        For Each localservice As ServiceController In localServices
            ListBox1.Items.Add(localservice.DisplayName)
        Next
Posted 26-Feb-12 5:35am
Edited 26-Feb-12 6: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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160426.1 | Last Updated 26 Feb 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100