Database Reference
In-Depth Information
Figure 11-6. Providing the wrong file name to cause an exception
5. Now click the Read File button. Because this file name is incorrect, you will
receive a strange-looking dialog with an unhandled exception, as shown in
Figure 11-7.
Figure 11-7. Exception dialog occurs when executing code through .exe
As you can see, this halts your application and leaves you with an unpleasant dialog, which is
certainly not user-friendly.
6. Click Quit to exit the exception dialog. (If you clicked Continue, you would
switch back to the application UI.)
7. To dig deeper, let's run the project from Visual Studio by pressing Ctrl+F5.
 
Search WWH ::




Custom Search