Results 1 to 6 of 6

Thread: get Services from MMC

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2004
    Posts
    48

    get Services from MMC

    Hi There!!
    Does anyone know how to retrieve the Services data from MMC?(run services.msc)

    Wat i'm trying to do is check my computer for unlicensed softwares. So from Services i can get the softwares that are running at the moment and write em to a database. Thanks in advance.

  2. #2

    Thread Starter
    Member
    Join Date
    Mar 2004
    Posts
    48
    aight i found out how 2 get all the processes that are running on my computer...but how do i find out the softwares that arent running so i can check if they licensed or not???

  3. #3
    Frenzied Member
    Join Date
    Nov 2003
    Posts
    1,489
    how did you get your first problem solved? did you run application.start? or how?

  4. #4

    Thread Starter
    Member
    Join Date
    Mar 2004
    Posts
    48
    This is all i did

    Dim p As Process
    For Each p In Process.GetProcesses()
    txtProcessNames.Text = txtProcessNames.Text & p.ProcessName & vbCrLf
    Next p

    i cant find a way to get all the programs from the Service console. If i do that i can use both.
    Last edited by dawgfather; Apr 12th, 2004 at 03:55 PM.

  5. #5
    Frenzied Member Mike Hildner's Avatar
    Join Date
    Jul 2002
    Location
    Des Moines, NM
    Posts
    1,690
    VB Code:
    1. ' Visual Basic
    2. Dim services() As System.ServiceProcess.ServiceController
    3. services = System.ServiceProcess.ServiceController.GetServices()
    HTH,
    Mike

  6. #6

    Thread Starter
    Member
    Join Date
    Mar 2004
    Posts
    48
    Thanks..got it workin..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width