title: How to make a shape move up and then come back at the bottom once at the top of the screen in Visual Basic.NET?
body: <p>I can get a shape to go down and reappear at the top but I can't figure out how to get it to work going up. Any help?</p>
  
  <p>This is my code for going down:</p>
  
  <pre><code>    If shpBar.Top + shpBar.Height &lt; Me.Height Then
          shpBar.Top += 50
      Else
          shpBar.Top = 0
      End If
  </code></pre>