Control arrays are not supported in VB.NET because there are better alternatives to it.
Though there are many ways to it,
In the simplest form, you can easily get the effect of a control array like this.
vb.net Code:
Dim MyTextBoxes() As TextBox = {TextBox1, TextBox2, TextBox3, TextBox4, TextBox5, TextBox6}
Do that at the form level, and you should be able to use the MyTextBoxes just like you used control arrays.




icon on the left of the post.
Reply With Quote