Block Process on listbox [solved]

Posts 1–6 of 6 · Page 1 of 1
Block Process on listbox [solved]
I know the code but its only block the selected item? how to make if i add a process into listbox then it will block all of the process name inside the listbox?
The items in a listbox are a collection, just iterate through ListBox1.Items and block each of them.
[highlight=vb.net]For Each proc In ListBox1.Items
For Each p In Process.GetProcessByName(proc.ToString)
p.Kill
Next
Next[/highlight]

some craps like that.
This sounds like my SafeProc
yeah it works thnx
Marked solved then.
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Need help?