title: OpenFileDialog crashes under Windows XP, but not Windows 7
body: <p>I've got a strange problem I haven't seen before.  I can open an <code>OpenFileDialog</code> in Windows 7 without any problems.  However, when I try my app on Windows XP, calling <code>OpenFileDialog.ShowDialog()</code> immediately crashes the application.  It just vanishes!  When running from the debugger, I don't get any unhandled exceptions.  If I wrap the code in a try/catch block, nothing gets caught.  I have also checked all thrown exceptions in Debug -> Exceptions, but nothing pops up.  I'll try some of the other suggestions in the answers below and will report back.</p>
  
  <p>Does anyone know how to resolve this problem?  I found a <a href="http://connect.microsoft.com/VisualStudio/feedback/details/589316/microsoft-win32-openfiledialog-microsoft-win32-savefiledialog-crash-in-aero-windows-7-theme" rel="nofollow">post about something similar</a>, but it was the opposite problem.  I'll try tweaking the desktop settings to see if it's related to that, but I am dubious.</p>
  
  <p>EDIT -- as a sanity check, I wrote a test WPF application that displays an <code>OpenFileDialog</code> directly via the main window as well as another <code>Window</code> that can be displayed by the main window.  It totally works fine under Windows XP.  So now I'm really confused.  I have verified that I'm not doing something stupid like trying to display the dialog from a worker thread.  The <code>OpenFileDialog</code> displays briefly, then disappears along with the application.</p>
  
  <p>EDIT -- I'm going to try to reproduce this problem on another XP computer.  For now, I'll try Windows XP mode and we'll see what happens.</p>