How to locate an item in a combobox by passing it's index value ? FindString method may not be useful as my combobox can contain similar strings.
something like this .. But this does't work for me here which i usulally used to do in VB6
something like this .. But this does't work for me here which i usulally used to do in VB6
Code:
For a = 0 To cmbGroupName.Items.Count - 1
If cmbGroupName.Items(a) = vVAL Then
Exit For
End If
Next
cmbGroupName.SelectedIndex = a