I've to Close all open MdiChield form from one form/button in VB
.NET 2003 (FrameWork 1.0/2.0)
I'm using following ode. It neither gives error nor close any form
I've used Me.OwnedForms and Me.MdiChildren both but loop doesn't run more than one.
What's the reason or please tell be another code for this. Code must be run in FrameWork 1.0/2.0
Dim f As Form
' For Each f In Me.OwnedForms
For Each f In Me.MdiChildren