Code:
Dim chkWeek(6)() As CheckBox
For j = 0 To 6
For i = 0 To 23
Dim chkBox As New CheckBox
chkBox.Text = i
chkBox.Width = Unit.Pixel(40)
chkWeek(j)(i) = chkBox
When I make the array into a single dimension I don't get this error and it works fine (except I don't have a 2 dimensional array then obviously
Thx