This is weird, maybe it's an option / setting in VS2010 ...
I am running my vb.net program and it is hitting a Critical error for which I have a MSGBOX message to display. However, it doesn't display it just terminates the program ... on the right of the screen there is an IntelliTrace Window and it says :
User Prompt: Displayed "Critical Error has occurred ....."
User Prompt: Clicked "OK" The user clicked the "OK" button in the MessageBox
BUT I DIDN'T !!!!
This was happening because I was closing the Form when I had finished validating the input, which meant that the program had no active window in which to display the MessageBox, so it just assumed OK & continued !!!
In future, I must remember to leave the Form open until all actions that may relate to it are complete !!!