try this:

vb Code:
  1. Public Class Form1
  2.  
  3.     ''' <summary>
  4.     ''' Product Structure
  5.     ''' </summary>
  6.     ''' <remarks>contains a string member + a double member.
  7.     ''' overriding the ToString, determines what is displayed in the listbox when you add a Product</remarks>
  8.     Private Structure Product
  9.         Dim itemNumber As String
  10.         Dim price As Double
  11.         Public Overrides Function ToString() As String
  12.             Return Me.itemNumber
  13.         End Function
  14.     End Structure
  15.     ''' <summary>
  16.     ''' products array
  17.     ''' </summary>
  18.     ''' <remarks>5 element array of Product</remarks>
  19.     Dim products(4) As Product
  20.  
  21.     ''' <summary>
  22.     ''' Form1_Load event
  23.     ''' </summary>
  24.     ''' <param name="sender"></param>
  25.     ''' <param name="e"></param>
  26.     ''' <remarks>here we read the text file, then loop through the lines + load the products array + add products to listbox</remarks>
  27.     Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  28.         Dim lines() As String = IO.File.ReadAllLines("fileName.txt")
  29.  
  30.         Dim counter As Integer = 0
  31.  
  32.         For x As Integer = 0 To lines.GetUpperBound(0) Step 2
  33.             products(counter).itemNumber = lines(x)
  34.             products(counter).price = CDbl(lines(x + 1))
  35.             ListBox1.Items.Add(products(counter))
  36.             counter += 1
  37.         Next
  38.  
  39.     End Sub
  40.  
  41.     ''' <summary>
  42.     ''' ListBox1_SelectedIndexChanged event
  43.     ''' </summary>
  44.     ''' <param name="sender"></param>
  45.     ''' <param name="e"></param>
  46.     ''' <remarks>this shows how you can use the ListBox.SelectedItem</remarks>
  47.     Private Sub ListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged
  48.         Label1.Text = DirectCast(ListBox1.SelectedItem, Product).price.ToString("c2")
  49.     End Sub
  50.  
  51. End Class