Promote Your Blog
Google

Monday, January 23, 2012

How To Kill Process With Given Name In Visual Basic

Dim pProcess() As Process = System.Diagnostics.Process.GetProcessesByName("myprocess")
For Each p As Process In pProcess
p.Kill()
Next

No comments:

Post a Comment