Set Label.Container = Picturebox1
should be
vb Code:
  1. Set Label.Container = Me.Controls("picturebox1")
or as the variable picturebox is still in scope, you could use
vb Code:
  1. Set Label.Container = Picturebox