Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21120

[RESOLVED] jim need your help list1

$
0
0
am on my chat client i need help on 1 thing please little stuck

i have list1 and have = 1 in that


i need a button code to remove new items that has been added recent that will be list1 value = 2

i tried
Code:

For i = List1.ListCount - 1 To 0 Step -1 ' counts list entries
    If List1.Selected(i) = True Then ' if selected then
        List1.RemoveItem i ' optional remove
       
    End If
Next

to remove the new value but its not removing it

how do i remove new value thats been added in list1

Viewing all articles
Browse latest Browse all 21120

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>