VB Code:
  1. Dim oProcess As Process
  2. For Each oProcess In System.Diagnostics.Process.GetProcesses()
  3.     If oProcess.ProcessName.ToString = "YourDesiredExe" Then
  4.         oProcess.Kill()
  5.     End If
  6. Next


My previous code will get the process you desire and does not have to be created by you or your code.