If you want to terminate all non-responding processes, you can use this function. To test its functionality you can start the attached
test.exeGeSHi (vb):
Public Sub TerminateNonRespondingProcess()
For Each Process As Process In Process.GetProcesses()
If (Not Process.Responding) Then
Process.Kill()
End If
Next
End Sub
Created by GeSHI 1.0.7.20