To move an object (ie a PictureBox) use the following code (demonstrates usage of Move method and a Timer control.
Code:Private Sub Form_Load() Timer1.Interval = 1 End Sub Private Sub Timer1_Timer() Picture1.Move Picture1.Left + 20, Picture1.Top End Sub




Reply With Quote