Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

VB.net - Convert key to string

  • 15-12-2004 05:08PM
    #1
    Closed Accounts Posts: 703 ✭✭✭


    I have an onkeyup event for a form I'm designing; I want to be able to (a) detect which key was pressed [solved] and (b) to convert a string in a variable into a sequence of keys for comparison.

    so its basically like this: user presses a button, get the key, convert string from a variable into a keycode then compare the two.

    I've tried using 'keysconverter' but have failed miserably.

    Any ideas?


Comments

  • Closed Accounts Posts: 703 ✭✭✭SolarNexus


    problem solved, for me at least.

    I used keys.KeyCode.ToString


Advertisement