title: VB.Net Close window by title
body: <p>I'm searching a method to close a specific window by the title.</p>
  
  <p>I tried with <code>Process.GetProcessesByName</code>; but not is working by this case particulary.</p>
  
  <p>I'm searching a method with APIs or similar (Not in C#, I see several code but not work fine in vb.net)</p>
  
  <p>Thanks!</p>
  
  <hr>
  
  <p>UPDATE</p>
  
  <p>Thanks for the reply. But I'm still have a problem with the solution that you describe me below.
  I'm have an only process that's control two windows. Then, if I close (or kill) the Window #2, instantly close the first one (See the image).</p>
  
  <p>By this reason I think in using an API method from the begging.</p>
  
  <p>I'm only want close the second window.</p>
  
  <p><img src="https://i.stack.imgur.com/MJfnf.png" alt="Screenshot"></p>