Hi, I need to declare an array which will be used to add controls to a form such as this

vb Code:
  1. Public picBatch() As Control
  2. Public intControlIndex As Integer
  3.  
  4. intControlIndex = UBound(picBatch) + 1
  5. ReDim Preserve picBatch(intControlIndex)
  6.  
  7. Set picBatch(intControlIndex) = Controls.Add("VB.PictureBox", "PicBatch_" & CStr(intControlIndex))



I need to then assign my own tags.

IE. picBatch(1).AtStart = true

how do I do this?