Results 1 to 4 of 4

Thread: Keypress

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Pilipinas
    Posts
    441

    Keypress

    How do KeyPress work in VB.NET?
    In VB6, I just do this:

    If KeyAscii = 13 Then
    MsgBox "You Press Enter"
    EndIf

    How do I show the MessageBox in VB.NET "You Press Enter" everytime I press Enter Key?

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

  3. #3
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Don't forget to change the initial thread topic to "resolved"

  4. #4
    New Member
    Join Date
    Oct 2002
    Location
    Mumbai (India)
    Posts
    3
    i was looking to develop an keyboard for multilingual application. where i will require to capture the keystrokes at global level and replace them accordingly. now using WH_KEYBOARD, i am able to hook onto the keystrokes pressed globally. The issue being is i cant replace the keystroke. rather when i interpret it and try to send another key, the old one pressed goes along it. EG: i want to replace 'A' with 'Z', and i pressed 'A', it will print 'AZ' rather then AZ. So do u have some good solution for it as of how to work on replacing it.

    you all give things in local process and what i am looking out is using global process.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width