Simple process kill - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: Visual Basic and the .NET Framework (https://www.supportforums.net/forumdisplay.php?fid=19) +---- Thread: Simple process kill (/showthread.php?tid=19274) |
Simple process kill - Strafeness - 06-03-2011 Hello guys, With this code you can simply kill a process: Quote:For Each p As Process In System.Diagnostics.Process.GetProcessesByName("notepad") If the code you see "notepad"edit this part with the process name of your program. Best regards, Strafeness |