I got it to work with CType. I wonder what we be most sound Ctype or Direct Cast. Code is very similiar to what you used. Does CType cause more code to be executed?

With Ctype(MyPanel.Controls(RandomNumber))
.Image= MyImage
.Location = New point(...,...)
End With