Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MDI Children
Message
From
12/05/2004 15:31:31
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Forms
Title:
MDI Children
Miscellaneous
Thread ID:
00903331
Message ID:
00903331
Views:
46
All,

I have an MDI windows application that has many forms. I want to loop through the mdichildren collection searching for the specific form. A for each loop is in my mind the best way to do this. However, the code I have generates an invalid cast message and I don't know why. The code is below, please help.

Private Sub ShowSupportPage()
Dim oTimeForm As TimeCollection
For Each oTimeForm In Me.MdiChildren
oTimeForm.tmrTimeCollection.PauseTime()
Next
End Sub
Thanks

Jim
Reply
Map
View

Click here to load this message in the networking platform