last semester i've done a documentation about computerized examination for vb 6 language. and now i need to finish the program in vb.net. the only problem is that i can't find a way to start the program b'coz .net doesn't have control arrays...

i need to find a way to make control arrays for my textboxes, labels and comboboxes... pls help me.


-----------------------------------------------------------------------------------
email me at: reign2099@yahoo.com

You are correct there .Net does not offer control arrays. You can use control collections in coding to itterate through the controls on a form or in a container.

For Each ctl As Control In Me.Controls
        If TypeOf (ctl) Is TextBox Then
            MessageBox.Show(ctl.Name)
        End If
Next
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.