N news.microsoft.com Nov 22, 2003 #1 Hi, How to load the list of keys enumeration name and value in a combo box. Thanks saran
H Herfried K. Wagner [MVP] Nov 22, 2003 #2 * "news.microsoft.com said: How to load the list of keys enumeration name and value in a combo box. Click to expand... \\\ Me.ComboBox1.Items.AddRange([Enum].GetNames(GetType(Keys))) .. .. .. Private Sub ComboBox1_SelectedIndexChanged(...) Handles ComboBox1.SelectedIndexChanged MsgBox([Enum].Parse(GetType(Keys), DirectCast(Me.ComboBox1.SelectedItem, String))) End Sub ///
* "news.microsoft.com said: How to load the list of keys enumeration name and value in a combo box. Click to expand... \\\ Me.ComboBox1.Items.AddRange([Enum].GetNames(GetType(Keys))) .. .. .. Private Sub ComboBox1_SelectedIndexChanged(...) Handles ComboBox1.SelectedIndexChanged MsgBox([Enum].Parse(GetType(Keys), DirectCast(Me.ComboBox1.SelectedItem, String))) End Sub ///