Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 24th, 2012  |  syntax: None  |  size: 0.37 KB  |  hits: 15  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Dim az As Integer = listarrays.Items.IndexOf(listarrays.SelectedItem)
  2.         Dim strinput As String
  3.         Dim Item As Object = listarrays.Items.Item(az)
  4.         Dim index As Integer = listarrays.Items.IndexOf(Item)
  5.         strinput = InputBox("Edit This Item")
  6.         listarrays.Items.Remove(listarrays.SelectedItem)
  7.         listarrays.Items.Insert(index, strinput)