G
Guest
Hello:
In the closing event of the MDI Parent, I have the following routine:
While Me.MdiChildren.Length > 0
liCounter = Me.MdiChildren.Length
Me.MdiChildren(liCounter - 1).Close()
End While
When I do have a MI Child, the .Close statement throws an exception, "Object
reference not set to an instance of an object".
What am I doing wrong?
Venki
In the closing event of the MDI Parent, I have the following routine:
While Me.MdiChildren.Length > 0
liCounter = Me.MdiChildren.Length
Me.MdiChildren(liCounter - 1).Close()
End While
When I do have a MI Child, the .Close statement throws an exception, "Object
reference not set to an instance of an object".
What am I doing wrong?
Venki