I am populating the values of a combo box at runtime and then want to set one of the values as selected.
this is how i populate the combobox
For Each s In [Enum].GetNames(GetType(super.GI1))
And then trying to set the selected
Me.gi1Combo.SelectedText = [Enum].GetName(GetType(super.GI1), Settings.GI1)
Me.gi1Combo.SelectedValue = [Enum].GetName(GetType(super.GI1), Settings.GI1)
Settings.GI1 is declared as
Public GI1 As super.GI1
Thank you for anything you can do.