title: detect windows errors/popups
body: <p>My app doesn't cover all the exception scenarios. During run time, sometimes a window pops up which shows the error for ex: "System Null reference exception" or "The file or directory is corrupted and unreadable". Once the error window comes up, it doesn't go away until the user responds with the buttons.</p>
  
  <p>I want to capture these exception and don't want to show these error windows to the users.</p>