Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShowMDIChield Routine
Message
From
17/07/2003 17:36:59
 
 
To
All
General information
Forum:
ASP.NET
Category:
Forms
Title:
ShowMDIChield Routine
Miscellaneous
Thread ID:
00811297
Message ID:
00811297
Views:
47
I'm updating a vb6 routine for vb.net that show chield forms. The routine check first if the form is in use, if the form aren't in use then create a instance and show it.
Anyone call tell me what to write this example in vb.net?

Thanks,


The code in vb6 :

Sub ShowChield(frmWindow as Form)
Dim intForm as Integer, bolExist as Booleam

For intForm = 1 to Forms.Count -1
If Forms(intForm).Name = frmWindow.Name Then
If Forms(intForm).WindowState = 1 Then Forms(intForm).WindowState = 0
Forms(intForm).SetFocus
bolExist = True
Exit For
Else
bolExiste = False
End If
Next

If bolExiste = False Then frmWindow.Show

End Sub
Next
Reply
Map
View

Click here to load this message in the networking platform