jfackler
Junior Contributor
The index of a control is assigned as you add the control to the form....last control added has an index of 0, first control added has greatest index.
ComboBox1.Items.Add("hello")
Dim item As String
Dim someitems() As String = New String(2) {"hello", "from", "combobox"} ' (0) through (2).
For Each item In someitems
ComboBox1.Items.Add(item)
Next