Array

DreamKid
02-03-2004, 02:50 AM
I'm aware that the array structure in VB.Net is different from VB.
How can a create an array for a picturebox to be loaded into the form.

It goes something like that in VB:
pbSample(0) is a picturebox exist in the form.

For x = 0 to 5
Load pbSample(x)
pbSample.Left = pbSample.Left + 100
Next

VBJoe
02-03-2004, 02:24 PM
Do you mean a Control Array? If so, .NET doesn't natively support Control Arrays. I did see an Add-In for VS.NET that creates Control Arrays for you. Do a search on Google.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum