found one myself :)
Dim USStates As New ArrayList()
USStates.Add(New USState("Washington", "WA"))
USStates.Add(New USState("West Virginia", "WV"))
USStates.Add(New USState("Wisconsin", "WI"))
USStates.Add(New USState("Wyoming", "WY"))
ListBox1.DataSource = USStates
ListBox1.DisplayMember = "LongName"
ListBox1.ValueMember = "ShortName"
"Brian Henry" <br******@adelphia.net> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
I have a listbox, and i need to show a text string for selection, but each
item is tied to a number (not visible) i need to select the visible text
and have it return the number value, i know its possible with data sets and
such useing the display column and value column settings, but what if you arnt
useing a data set? how would i do this? thanks