try here
http://www.codeproject.com/KB/threads/killprocess.aspx