get full path of active window's process (vb.net)

Posted by Jonathan on Stack Overflow See other posts from Stack Overflow or by Jonathan
Published on 2010-05-22T06:15:27Z Indexed on 2010/05/22 6:20 UTC
Read the original article Hit count: 236

Filed under:
|
|

I can get the active window's process, but I have no idea how to get the location of that process, as far as I can see the process object only has ProcessName property which just returns like chrome instead of C:\pathtochrome\chrome.exe

How can I get the latter because I'm trying to get the process's File Description attribute, but I need the full path to it.

© Stack Overflow or respective owner

Related posts about vb.net

Related posts about active-window