Okay, the following post discuss exceptions not being thrown in form load event under Windows 7 where my curiousity is with answer 11.
My installation of VS2012 does not have Common Language Runtime Exceptions enabled so if I were to do the following
Public Class Form1 Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load CType(sender, ListBox).Items.Add("Boo") End Sub End Class
The exception is not thrown, enable Common Language Runtime Exceptions and then the exception is thrown. I have no problem with this behavior knowing the facts.
Now from memory as I have no XP box with VS2010 to test this one I could execute the code above and not had touched settings for Common Language Runtime Exceptions and the exception would be thrown as expected.
If you read thru the post it appears that several people had no clue to this and have to wonder how many developers over time thought they are imagining things i.e. load data, display in a DataGridView with what they believe to be picture perfect code only to see no data when the form is shown.
Any ways my reason for the above is a) to have others be aware of this b) see what others have to say.
Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.