16. Error
If there is no selected item ComboBox1.SelectedIndex will be
-1 and this will produce an Error
ComboBox1.Items
White
Red
Black
yellow
ComboBox1.SelectedIndex
0
1
2
3
Dim X As String =ComboBox1.Items(ComboBox1.SelectedIndex)
TextBox1.Text = X