Let's say I have a process ID and I want to get the exe path of it. Is it possible?
Also how can I send a message to the process (like for hiding the app)
Printable View
Let's say I have a process ID and I want to get the exe path of it. Is it possible?
Also how can I send a message to the process (like for hiding the app)
bump:D
I tried these two, but for every single process it just returns an empty string:confused:
VB Code:
Process.StartInfo.WorkingDirectory Process.StartInfo.FileName
HELP PLZ!!!
:D
aaaah, I'm the only one posting:p
Umm I found something but this might not always work. someone plz give me some info if you can....
In the Process.Modules array, the first item sounds like to have the path of the exe of the process
VB Code:
Process.Modules(0).FileName
now is that always gonno be the exe of the process or am I just getting this result accidentally?:rolleyes: