I am a coder who is finally making the transition from vb6 to vb.net. I am currently making a UserControl and i want to load more than one instance of the control. In vb6 i would just set the index property of the control to 0 and then if i wanted to load a total of 3 controls including the control at index 0 i would do something like this.
dim i as integer
for i = 0 to 2
This code in vb6 would load 3 different instances of the UserControl. I am looking to learn how to do this exact same thing in vb.net 2005.