Dim imgPictures() As Image imgPictures.Add(My.Resources.Red) imgPictures.Add(My.Resources.Blue) imgPictures.Add(My.Resources.Black) imgPictures.Add(My.Resources.Yellow) Dim imgReel1 As Integer = random.Next(0, imgPictures.Images.Count - 1) PicBox1.Image = imgPictures.Images(imgReel1)
The problem is with imgPictures.Images that im getting this error message.
Basicly for this program I am trying to create an Array of images and then have them randomise within a PictureBox. I have to do this within an Array but my method above doesn't seem to be working

New Topic/Question
Reply



MultiQuote




|