Hello,

I would like to know how to proceed under VB.NET to create an array of controls (like the Index property under VB6).
I know that this property no longer exist under VB.NET but there is normally another way to do it.

I found an explanation in the help file but no example are given.

For example, I want to create an array of PictureBox and be able to load Pictures from another array.

Dice is an array of 5 that contains dice values from 1 to 6

For i = 1 to 5
picDice(i).Picture = picAllDices(dice(i)).Picture
Next i

Thaks for your help,
Thierry