| | |
Detect key input
![]() |
•
•
Join Date: Sep 2006
Posts: 15
Reputation:
Solved Threads: 0
Im trying to make a small game in visual basic 6. It requires the moving of a command button depending on the different key inputs. I have the code working when you push other command buttons that this one moves but I cant figure out how to detect when either the wasd keys are pushed or the arrow keys. If someone could give me a code snippet for detecting key input thatd be awesome.
![]() |
Similar Threads
- Dual-Boot (Multiboot), 9x-2000, 9x-XP (Windows tips 'n' tweaks)
- how to detect arrow keys?? (C)
- Firefox Compatibility help with script (JavaScript / DHTML / AJAX)
- Problem on using keyboard wedge Barcode scanner with VBA (Visual Basic 4 / 5 / 6)
- How to restrict the entry of alphabets in a textbox using javascript...? (JavaScript / DHTML / AJAX)
- how to read input from barcode scanner? (PHP)
- Hijackthis report, I just don't know (Viruses, Spyware and other Nasties)
- I've got Trojan.Holax... is this bad? (Viruses, Spyware and other Nasties)
- not-a-virusadware (Viruses, Spyware and other Nasties)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Automation error
- Next Thread: Connecting a Global Module to Forms to create and "carry through" to a final form
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





