I keep getting this error and I don't know why.Code:An unhandled exception of type 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll Additional information: Index and length must refer to a location within the string.
It happens each time I click one of the lower items of one of my Comboboxes.
The combobox items are added via a script that runs on Form1_Load which adds the nodes of an xml file into the combobox.
The script for my combobox is as follows:
VB Code:
Private Sub OreDrop_SelectionChangeCommitted(ByVal sender As Object, ByVal e As System.EventArgs) Handles OreDrop.SelectionChangeCommitted OreInfo.Text = OreDrop.SelectedText.ToString End Sub


Reply With Quote
