title: How to kill multiple processes?
body: <p>I found this code to kill a process.. But this this is only for 1 process<code>(MS Word)</code>.. What I want is to kill 2 or more process.</p>
  
  <pre><code>  For Each p As Process In Process.GetProcesses
          If String.Compare(p.ProcessName, "WINWORD", True) = 0 Then
              p.Kill()
          End If
      Next
  </code></pre>
  
  <p>I try to add <code>If String.Compare(p.ProcessName, "WINWORD","EXCEL", True) = 0 Then</code> but this code is error</p>
  
  <p>I also try this <code>If String.Compare(p.ProcessName, "WINWORD , EXCEL", True) = 0 Then</code> and this code is ok but its not reading the Winword or excel</p>