PDA

View Full Version : Next simple VB 2005 Question


cameronlanni
12-08-2006, 05:22 AM
I'm trying to draw the value of a specific line from a list box, and apply said value to a variable.

Here's what I've been trying that is not working. In this example, I'm trying to draw the value from line 8:

Dim example As Integer
example = ListBoxTest.Items.Item(7)
MessageBox.Show("Test Outcome: " & example)


Thanks again,
Cameron