title: How to add item to a comboBox in Visual Basic with modifying the attribute .Value
body: <p>I have a little problem with my code in Visual Basic. It is quite simple but I'm very new to this language.</p>
  
  <p>In Visual Basic, I want to add new items in my combo box like this:</p>
  
  <pre><code>ComboBox1.Items.Add(array(1))
  </code></pre>
  
  <p>When the program executes the code, I suppose that I make a new <code>ComboBox</code> item in a specific position with the attribute <code>.Text</code>, but I want to access and add some data in the attribute <code>.Value</code> at the same time. The code is inside a loop.</p>
  
  <p>My Code:</p>
  
  <pre><code>While src.Peek() &lt;&gt; -1
      cadena = src.ReadLine()
      intermitja = Split(cadena, "/")
      ComboBox1.Items.Add(intermitja(1))
      ' I tried this...
      ' ComboBox1.Items(ComboBox1.Items.Count).value = (intermitja(0))
  End While
  </code></pre>