Show error message with buttons?
<p>How can I make it so that after doing something (like opening a file), if it fails, it:</p>

<ol>
<li>Freezes the application</li>
<li>Shows a Windows dialog with the default error message, along with any custom message specified.</li>
<li>Gives options to 'Retry' or 'Abort'</li>
</ol>

<p>Whats the best way to do something like this?</p>
