Public Function KillByPID(PID As Long)
Dim lOpen As Long
lOpen = OpenProcess(PROCESS_ALL_ACCESS, 0, PID)
Call terminateprocess(lOpen, 0)
End Function
Kill Process from PID
Code:
0 comments:
Post a Comment
Click to see the code!
To insert emoticon you must added at least one space before the code.