I have two listboxes. I want the selected items in the first box to be copied to the second box on a button click event.
The listbox names are lbFiles and lbDelete. I want lbFiles to copy to lbDelete.
Private Sub btnRight_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRight.Click
lbDelete = lbFiles.SelectedItems