Results 1 to 4 of 4

Thread: Finding processes path in Windows XP

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2006
    Posts
    39

    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?!?

  2. #2
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    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
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  3. #3

    Thread Starter
    Member
    Join Date
    Nov 2006
    Posts
    39

    Re: Finding processes path in Windows XP

    Quote Originally Posted by dee-u View Post
    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.

  4. #4

    Thread Starter
    Member
    Join Date
    Nov 2006
    Posts
    39

    Re: Finding processes path in Windows XP

    any chance somebody knows how to get this working in RapidQ Basic too?

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