title: Adding Multiple Items From One Listbox to Another VB.Net
body: <p>I am able to only move single items from one listbox to another with this code. I tried with both MultiSimple &amp; MultiExtended SelectionMode.</p>
  
  <p>How do I select multiple items and then move them?  </p>
  
  <pre><code>Private Sub cmdAdd_Click(ByVal sender As System.Object, 
                           ByVal e As System.EventArgs
                          ) Handles cmdAdd.Click
  
          Dim i As Integer = Listbox1.SelectedIndex
  
          If i = -1 Then
              Exit Sub 'skip if no item is selected
          End If
  
          Listbox2.Items.Add(Listbox1.Items(i)) 
          Listbox1.Items.RemoveAt(i)
  
      End Sub
  </code></pre>