Task Manager *Applications*

twoplustwo

Registered User.
Local time
Today, 06:37
Joined
Oct 31, 2007
Messages
507
Hi guys,

Just a quickie hopefully.

I can return process names etc. ok.

Is there a way to do this for the applications?
 
When you're talking windows your keyword for search should be : API
now the API you are looking for is called Win32_Process
here is a quickie of how things are :
Dim objWMIService, colItems, objItem, strComputer
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.InstancesOf("Win32_Process")
For Each objItem In colItems
MsgBox objItem.ProcessId & ":" & objItem.Name
Next
Set objWMIService = Nothing
Set colItems = Nothing
yet i would suggest more self study , it's beyond this forum's scope.
 

Users who are viewing this thread

Back
Top Bottom