iterating through forms collection in .net


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
 
Ad

Advertisements

H

Herfried K. Wagner [MVP]

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.*.
 
Ad

Advertisements

I

Ivan

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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top