Dear All,
Please Help Me...I want to kill the process the computer in VB.NET...please give me working code....i know we can kill the process with the help of process id m able to display the all the process on list box now if i select particular process and on click of "Kill Process" button it should get killed...but m not able to complete this...please help me...

Here's how you kill current process:

Dim aProcess As System.Diagnostics.Process
aProcess = System.Diagnostics.Process.GetCurrentProcess()
aProcess.Kill()

To kill a process with a specific ID, make the following change:

aProcess = System.Diagnostics.Process.GetProcessById(ThisID)

I just wonder where you need this code...