Finding processes path in Windows XP
This thread, like many others I found, is quite old, and like all others does not help me...
I found dozens of VB sources which should allow finding path of running processes in Windows XP, but none of them does actually work, the can only get the .exe name!
Can anybody point me to a tested source which actually works in Windows XP?!?
Re: Finding processes path in Windows XP
I hope this works for you.
Code:
Dim Process As Object
For Each Process In GetObject("winmgmts:").ExecQuery("Select * from Win32_Process")
Debug.Print Process.ExecutablePath, Process.Caption
Next
Re: Finding processes path in Windows XP
Quote:
Originally Posted by
dee-u
I hope this works for you.
Code:
Dim Process As Object
For Each Process In GetObject("winmgmts:").ExecQuery("Select * from Win32_Process")
Debug.Print Process.ExecutablePath, Process.Caption
Next
Thank you very much. :)
Re: Finding processes path in Windows XP
any chance somebody knows how to get this working in RapidQ Basic too?