Convert e to uppercase
-
I dont know how to do that. Directly in the Keypress event. Someone can help me ? I am a newbie:omg:
Your definition of what you need is lacking. However, if I understand correctly, in a KeyPress event, you want to take the key that was pressed and convert it to uppercase. If this is your goal, try this in your sub
' Should return the uppercase value of whatever key ' was pressed Dim key As Char = UCase(e.KeyChar)
Hope this helpsAaron Eldreth
TheCollective4.com My Articles While much is too strange to be believed, Nothing is too strange to have happened. - T. Hardy
-
Your definition of what you need is lacking. However, if I understand correctly, in a KeyPress event, you want to take the key that was pressed and convert it to uppercase. If this is your goal, try this in your sub
' Should return the uppercase value of whatever key ' was pressed Dim key As Char = UCase(e.KeyChar)
Hope this helpsAaron Eldreth
TheCollective4.com My Articles While much is too strange to be believed, Nothing is too strange to have happened. - T. Hardy