ok here is a code for VB.net
code:
Dim proc As Process
proc = Process.GetProcessesByName("name")
proc.Kill()
Now this code should work but when I put this code into an application it sais on the error list
quote:
Value of type '1-dimensional array of System.Diagnostics.Process' cannot be converted to 'System.Diagnostics.Process'. C:\Documents and Settings\*********\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Form1.vb 5 16 WindowsApplication1
And I have no idea what is going wrong, can anyone help me?