|
-
Aug 8th, 2002, 07:48 PM
#1
how can I get the path of a process?
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)
-
Aug 9th, 2002, 02:59 PM
#2
bump
-
Aug 9th, 2002, 08:25 PM
#3
I tried these two, but for every single process it just returns an empty string
VB Code:
Process.StartInfo.WorkingDirectory
Process.StartInfo.FileName
HELP PLZ!!!
-
Aug 9th, 2002, 08:32 PM
#4
aaaah, I'm the only one posting
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|