Trying to list all running services


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Trying to list all running services

  1. #1
    Join Date
    Mar 2005
    Location
    UK, London
    Posts
    150

    Trying to list all running services

    Please can some one help I've been trying to do this for ages. I am looking for tutorials that i can read that will show me how to list all the running services on my computer. If any one has any ideas please can u suggest something to me.

    Many thanks.

  2. #2
    Join Date
    Dec 2003
    Posts
    2,750
    Code:
            Dim RunningProcess As System.Diagnostics.Process
            For Each RunningProcess In System.Diagnostics.Process.GetProcesses(System.Environment.MachineName)
                Console.WriteLine(RunningProcess.ProcessName)
            Next RunningProcess
    Paul
    ~~~~
    Microsoft MVP (Visual Basic)

Similar Threads

  1. How To List Running Processes
    By fournij in forum C++
    Replies: 4
    Last Post: 12-08-2005, 11:38 AM
  2. Replies: 0
    Last Post: 12-05-2005, 05:24 AM
  3. reading the list of process running
    By MLSrinivas in forum VB Classic
    Replies: 1
    Last Post: 06-23-2005, 03:31 AM
  4. Re: Why REST is a better way to do Web Services
    By Michael D. Kersey in forum .NET
    Replies: 2
    Last Post: 08-30-2002, 01:05 AM
  5. ListBot Going Out of Business
    By Larry Rebich in forum vb.announcements
    Replies: 1
    Last Post: 06-28-2001, 02:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center