Results 1 to 6 of 6
  1. #1
    Invidus's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    2,167
    Reputation
    23
    Thanks
    650
    My Mood
    Bored

    [Help]Removing items from ListViewEx? [Solved]

    Hey guys,
    I'm trying to remove items from listviewEx
    its not working.
    I tried ListViewEx1.Items.Clear(ListViewEx1.SelectedIndice s)
    But nooooooooooo that doesn't work.
    Tried the same with selected items, doesn't work.
    I know someone'll probably fix this in a few seconds, so someone?

  2. #2
    'Bruno's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Portugal
    Posts
    2,883
    Reputation
    290
    Thanks
    1,036
    My Mood
    Busy
    .RemoveAt(index)?
    Light travels faster than sound. That's why most people seem bright until you hear them speak.

  3. #3
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,108
    for each item as listviewitem in listview1.selecteditems
    listview1.items.remove(item)
    next

    ?
    Last edited by Blubb1337; 09-24-2010 at 05:59 AM.



  4. #4
    Invidus's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    2,167
    Reputation
    23
    Thanks
    650
    My Mood
    Bored
    Why End If ?
    THere's no If.
    And it works, thanks a lot.

  5. #5
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,915
    Reputation
    161
    Thanks
    3,108
    fixxed -.-



  6. #6
    Lolland's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Lolland!
    Posts
    3,156
    Reputation
    49
    Thanks
    868
    My Mood
    Inspired
    Mmkay solved then.

Similar Threads

  1. [Help]Removing item from listbox [solved]
    By pushdis15 in forum Visual Basic Programming
    Replies: 9
    Last Post: 04-14-2011, 08:47 PM
  2. [Help] Extract Filename From Listbox[Solved]
    By FatCat00 in forum Visual Basic Programming
    Replies: 7
    Last Post: 10-24-2010, 09:04 PM
  3. [help] remove part of something[solved]
    By Shadfx in forum Visual Basic Programming
    Replies: 4
    Last Post: 09-29-2010, 05:57 AM
  4. [Help] Save Items in Combobox[Solved]
    By FatCat00 in forum Visual Basic Programming
    Replies: 8
    Last Post: 04-13-2010, 04:01 AM
  5. [HELP]Remove C:\ from C:\Test.txt in filename (Openfiledialog)
    By Pixie in forum Visual Basic Programming
    Replies: 1
    Last Post: 12-14-2009, 03:43 PM