Kill process as easy as 1-2-3
Killing a process/program as easy as 1-2-3. No API, just as little piece of code.
Just sharing.
Enjoy!!
Original Author: Uchiha Yueh
Code
Dim Process
For Each Process In GetObject("winmgmts:"). _
ExecQuery("select name from Win32_Process where name='notepad.exe'")
Process.Terminate (0)
Next
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.