Application.OpenForms equivalent in VB 2003

D

Dabi Sardà

Hi,

In VB6 I remember I could iterate through all open forms using the Application.Forms collection.

In VB 2005 there is the Application.OpenForms collection.

But I have not been able to find any equivalent in VB 2003.

Anyone know of a better alternative than maintaining a manual collection of forms or iterating through all open windows via API calls?

Any help appreciated

From http://www.developmentnow.com/g/38_2007_3_0_30_0/dotnet-languages-vb.ht

Posted via DevelopmentNow.com Group
http://www.developmentnow.com
 
S

Shuja Ali Zaroo

How about creating an arraylist and adding each form to this array list in
their load even handler?

Shuja
 

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