iterating through forms collection in .net

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

Hi,

How can I iterate through the forms collection in vb.net (2003). In VB6 I
did:
For Each f In Forms


blah

Next f



Thanks

Mike
 
Mike said:
How can I iterate through the forms collection in vb.net (2003). In VB6 I
did:
For Each f In Forms

There is no 'Forms' collection in .NET 1.*.
 
You'd have to keep track of your forms by adding them to your own
collection as you create them (and remove them from the collection when
you close them).
 
Back
Top