I have a MDI window and i want all of my child windows in a collection or and array. all my child windows are created with one form frmDoc and loaded using

Code:
Dim newD As New FrmDoc
newD.Show
so if i have all the forms in a collection i can change a property in the specific form's, object.

Code:
eg: 
collection.items(1).cmd1.caption="ok"
collection.items(5).cmd1.caption="ok"
does anybody know how to do this?