Error creating window handle
Hello,
I'm trying to get a MDI application together. I'm opening a child form from the parent menu. In the load event of the child form, I call a class to fill an ArrayList which, when returned to the child form, will populate a ListView control.
I'm trying to execute a SqlDataReader in the class. I'm conneting OK, but when I execute a command object to fill the data reader, I get an 'Error creating window handle' error.
I don't even know where to begin looking for the problem. Is it in the MDI setup and the way the child form is loading somehow?
Any thoughts to get me looking in the a direction (any will do) much appreciated.
Thanks,
Bob
|