This is your place for codes, sources, releases, snippets, tutorials, how-to's and everything you can imagine in VB.NET (visual basic).Everything is free and off-charge.Your comments are aways appriciated.
4/24/11
[VB.NET][SNP] Kill Process
Dim pProcess() As Process = System.Diagnostics.Process.GetProcessesByName("explorer.exe")
For Each p As Process In pProcess
p.Kill()
Next
No imports, simple to use.
Brotip: Put it in a Try - Catch - End Try :D
No comments:
Post a Comment