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. key ascii

key ascii

Scheduled Pinned Locked Moved Visual Basic
tutorial
3 Posts 3 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.
  • C Offline
    C Offline
    chand_p
    wrote on last edited by
    #1

    how to track key ascii value of key button pressed. Thanks;);)

    B B 2 Replies Last reply
    0
    • C chand_p

      how to track key ascii value of key button pressed. Thanks;);)

      B Offline
      B Offline
      Bad Sector
      wrote on last edited by
      #2

      Use the keypress or keydown event of the control. if u want to track them at form level don't forget to set the keypreview property of the form to true Computer... :confused: Programming... :confused: What That

      1 Reply Last reply
      0
      • C chand_p

        how to track key ascii value of key button pressed. Thanks;);)

        B Offline
        B Offline
        Briga
        wrote on last edited by
        #3

        Well that's very vague!!! Where do you want to check? Inside an app? A form? Over the whole PC? In a form you can use the relative key (up, down) event of the form in VB.NET or VB6. If you want to intercept every single keystroke on the PC then it's tougher and you have to hook an application of yours to the system through API calls. If you browse around you'll find some free DLLs that will do the job for you making it much more simple for you. Just make sure you get the correct one for your OS since most of them are OS related. Briga

        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