There is no control array support built-in to Vb.Net. You can however work
around it. One of the easiest ways to see such code would be to upgrade a
VB6 project containing the control array and see the code that is spit out.
It all depends on what you want to do with your array of pictureboxes.
Sam
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Quote:
> Hi,
> I used to be able to do this and I'm sure there is a way to do it in
> VB.net but I just can't seem to put the fingure on the best way.
> I would draw a picture box then cut and paste it and answer yes that I
want
> an array of this object. Now if I try to paste it it changes the name and
if
> I change the declare to
> Friend WithEvents pictureBox(10) as ... it says that the array does not
> permit WithEvents. How am I suppose to work with array objects???
> thank you
> Roch G.