Originally posted by siomai
hi mendhak! I was checking out the code you posted here and I was just wondering what is the 'ListItemNumeric' in this line?

intID = CType(ListBox1.SelectedItem, ListItemNumeric).ID

thanks! and hope you'd reply on this one...this will really help me cause I'm having the same problem. Take care!
I refuse to believe you have the same problem! ListItemNumeric is a class I created, which holds a Value, and an ID types, which I basically use to populate my listboxes so that I can "use" these values when I'm running a method of some sort.

The line of code that you put there takes the Object in the ListBox, and converts it to ListItemNumeric type and then gets its ID out.