"In Visual Basic, if one form shows another form modally, and the second form tries to unload the first form in either its Unload or Query_Unload event, Visual Basic hangs."

On January 5th, Microsoft said they were actively looking for a fix, I'm tired of waiting.

Does anyone have there own idea?

If form1 calls form2 (vbmodal) and I want to exit my app from form2 I use this code:

Dim Frm As Form

For Each Frm In Forms
Unload Frm
Set Frm = Nothing
Next Frm

The problem is that when it tries to unload form1 it will immediately try to unload form2 (on its own, not using the above routine) and hang. Any ideas?

Thanks!!