Hi !
i have problem with console app
how to determine witch key was pressed and do some action for it ex:
1. start the app
2. waiting for user action
3. pressing a key ( ex F3 )
4. app make an action
5. waiting for user action
[...]
can someone help me ? from 2 days i can't find anything about this ...![]()
thx for replies !
p.s. i don't mean something like this:
but something with KeyDown ( if it's possible )VB Code:
asciiCode = CInt(Console.Read()) ' Returns the ascii code of the entered character ' 13 is the code for enter If asciiCode = 13 Then Exit Do End If




Reply With Quote