|
-
Dec 25th, 2009, 10:59 PM
#5
Thread Starter
Junior Member
Re: Process1.MainModule.FileName has repeated path.
I will do as you have requested, thank you for the advice jmcilhinney, and yes your right i would want to fix the error. Now the reason the If statement is in there is because when i run the program, (without the if statement) the statement "lstvproc.Items(Count).SubItems.Add(Process.Id)" of that process that has an empty path, actually moves to the column of where the location is, so the location displays as the "id" of the process, which i dont want, so i fill in the blank and put "". and it works. though, now i guess the reason it does that it would be because of the error?
Tags for this Thread
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
|