Hi All,

I've tryed to create some arrays, but it didn't worked.

That's my array for my PictureBoxes:

VB Code:
  1. Dim arr As PictureBox() = {PictureBox1, PictureBox2, PictureBox3}

It gave me the error : Name 'PictureBox2' is not declared.
Name 'PictureBox3' is not declared.

What I'm doing wrong here!
Read also from the beginning because I'm still trying to create.

Thanks in advance,

sparrow1