"If necessity is the mother of invention, I'd like to kill the guy who invented this."
-Jimmy Buffet
I don't care if 100 people with a million reputation jump down my throat for saying this, but who ever thought of throwing this exception deserves a fate worse than death.
I have QUITE LITERALLY copied and pasted code from one project to another to populate standard data into a small set of text boxes. In one application, the data is displayed perfectly. The new one I'm working on now, throws this exception of course.
So here is my question - why would one throw it and the other not if the code is the same? Is there a setting in the project settings? Is there a property in the text box that prevents this?
I don't recall setting anything in the project to ignore this exception, but the code is EXACTLY THE SAME.