Cambalinho_83
12-12-2011, 10:30 AM
we have the KeyCodeConstants enum type. but how can i print all enums?
Dim i As Long
Dim k As KeyCodeConstants
For Each k In KeyCodeConstants
Combo1.AddItem Chr(k)
Next
error message: "compile error: For Each may only iterate over a collection object or an array."
my objective is show "vbkeyup" string. how can i do it?
Dim i As Long
Dim k As KeyCodeConstants
For Each k In KeyCodeConstants
Combo1.AddItem Chr(k)
Next
error message: "compile error: For Each may only iterate over a collection object or an array."
my objective is show "vbkeyup" string. how can i do it?