I'm trying to remove a number of items selected in a mulitselect list
box.
the code
For Each varSel In lstAvailableFiles.ItemsSelected
lstAvailableFiles.RemoveItem (varSel)
Next varSel
This will remove the first item select the first time through the loop
but
after one item is removed the all items are deselected so you can't
tell
what others need to be removed ..i.e. the
lstAvailableFiles.ItemsSelected.count falls to 0 after one item is
removed
regardless how many items were originally selected.
Is there a work around ?