UCM
Centurion
Than again, another way to do it would be to put the following in the scope ( outside of any subs ):
and ignore the whole (frm3.mdiParent=Me) thing...
Then make a public sub in form2 that would clear the contents of form2...
Now you can call from anywhere in form1 to show form2 and form3...
then if you put in the _closing event of form2:
then it should work much better....
see how I do something like this in This Thread
Visual Basic:
Private frm2 As New Form2'Make sure to take off the parenthesis ()
Private frm3 As New Form3'Make sure to take off the parenthesis ()
Then make a public sub in form2 that would clear the contents of form2...
Now you can call from anywhere in form1 to show form2 and form3...
then if you put in the _closing event of form2:
Visual Basic:
MyApplicationsNameHere.frm3.dispose()
see how I do something like this in This Thread