Leo123x

Hello,
please some one can tell me how i can kill Processes By ImageName
like Nopted
big thanks leo.


Re: Visual Basic Express Edition Help kill Processes imagename

Dave299

Dim P() As Process = Process.GetProcessesByName("Notepad")

For count As Integer = 0 To P.Length - 1

P(count).Kill()

Next