Getting combobox selectedindex by selected item or selected text
all i want is that when the form loads it should display the "Favourites" item as default selected item so for but as the user has the option to list "FAvourites" text selected combo bx anywhere in items list so it should become default selected by
If cbofolders.SelectedText = "Favourites" Then
' cbofolders.SelectedIndex = here i want it to acquire the value of slected (i.e. "Favourite") text's selected index
End If
:cool:
this way i get whatever the selected index value is to cbofolders.selectedindex .Plz code me it in vb.net
Also plz refer me som book that provides complete information regarding methods & property of controls available default in VB.Net & how to use.
Thanx in Advance. :WAVE:

