Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Convert e to uppercase

Convert e to uppercase

Scheduled Pinned Locked Moved Visual Basic
helptutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    X Offline
    XGaMeS
    wrote on last edited by
    #1

    I dont know how to do that. Directly in the Keypress event. Someone can help me ? I am a newbie:omg:

    L 1 Reply Last reply
    0
    • X XGaMeS

      I dont know how to do that. Directly in the Keypress event. Someone can help me ? I am a newbie:omg:

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      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 helps

      Aaron Eldreth

      TheCollective4.com My Articles While much is too strange to be believed, Nothing is too strange to have happened. - T. Hardy

      X 1 Reply Last reply
      0
      • L Lost User

        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 helps

        Aaron Eldreth

        TheCollective4.com My Articles While much is too strange to be believed, Nothing is too strange to have happened. - T. Hardy

        X Offline
        X Offline
        XGaMeS
        wrote on last edited by
        #3

        TextBox1.CharacterCasing = CharacterCasing.Upper That's what I neeeded :) I am a newbie

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups