"Error creating window handle" upon Opening Window with another Window Maximized

I am having a problem with my MDI application. I noticed that if I have one of my windows Maximized inside the MDI Parent and I load another form, the program will crash with the error:

An unhandled exception of type 'System.OutOfMemoryException' occurred in system.windows.forms.dll

Additional information: Error creating window handle.

The big problem is, this only occurs in about half of my forms. I can replicate this error consistently with the same forms, even if I change the form that is maximized. I tried using Breakpoints to trace the error but it seems to be occuring the the forms Show() function and not my code. What could be causing this error? What could I do to determine what is causing the error?

[743 byte] By [Shinigami] at [2007-12-16]
# 1
Who is the parent of the "another" form you try to load ?
Can you provide a stack trace of the exception ?
MikeDanes at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Base Class Library...
# 2
All the forms have the same parent. How do you perform a stack trace in VS 2003?
Shinigami at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Base Class Library...
# 3
Sorry for the delay. I've been very busy.

About the stack trace: normally when a WinForms application throws an exception there will be a dialog with a button "Details" which will show a stack trace.

I've played a bit with MDI Forms but I could not get any exception. There must be something specific to your forms.

MikeDanes at 2007-9-9 > top of Msdn Tech,.NET Development,.NET Base Class Library...

.NET Development

Site Classified