08-25-2010, 07:07 AM
Code:
Dim pProcess() As Process = System.Diagnostics.Process.GetProcessesByName("process name")
For Each p As Process In pProcess
p.Kill()
Next
Haven't tested this but it should work. (You will have to convert to VB6)