Q: 
ListBox Index Properties and Variable Arrays  

I have a ListBox and a label control.  I am reading states
and capitals from a sequential file.  When I click on the
states in the list box, the capital is supposed to display
in the label.  I am having difficulty in getting the capital
to display in the label.

A: two ways to solve it well, attached are two quick and simple methods to solve the problem. Also you can use a farpoint listbox. with this you can create hidden columns in the same listbox; fill them with your data and then get the capital also. but thats using a thirdy part control. I dont know if you want this... Example Return