Using Loop to double check CheckedListBox data

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • smepperson
    New Member
    • Feb 2010
    • 1

    Using Loop to double check CheckedListBox data

    Can anyone help explain this in simple terms. My textbok is useless...

    Have to code a Loop that will check if a name you are adding to a CheckedListBox has already been entered , if not add name to list and update a counter var, if so display msg and exit event...I know its short notice but this is due tomorrow....!!

    Thanks,
    Sharon
  • vb5prgrmr
    Recognized Expert Contributor
    • Oct 2009
    • 305

    #2
    Well then you had better get started don't you think? What code do you have so far? Okay, I'll give you some hints...You will need to use a for loop to go from 0 to listcount - 1. You also might want to use either UCase or LCase when comparing strings... meaning the input string versus .list property.

    Next time, please do not think of these forums as a place to get your homework done for you as you have with your thread starting post in this one. That is not what these forums are for. If you want your homework done for you then go to http://www.rentacoder.com and place your homework up for bid!


    Good Luck

    Comment

    Working...