Hi guys,
I've got a problem on how to store a set of data in a simple array. I am using the Sub Form_KeyDown(Keycode as Integer, Shift as Integer) API function, and my intention is to store the kestroke into an array. So basically hit one key then the keycode is stored in array(1), then hit...
Hi guys,
I am looking for any example source code on how to use one of the VB API function ToUnicode().
Example declaration:
Public Declare Function ToUnicode Lib "user32" Alias "ToUnicode" (ByVal wVirtKey As Long, ByVal wScanCode As Long, lpKeyState As Byte, ByVal...
hi guys, I am trying to detect these few keys from a USB keyboard. The keys are CUT, PASTE, COPY, HELP, and STOP. I have tried two aproaches in tackling this problem, which is detecting their ASCII code by using the keyboard hook method. The API function that I used including GetKeyboardState()...
Hi, I'm trying to find what function do i need to use in scanning in a hex file, to find the last value and return that value; and I think I need to use CFile class (or is it the CStdioFile class do i need to use instead?)
any idea? thx a lot
Hi guys,
At the moment I'm trying to edit my project, after checking the whole thing alright... it can be compiled and built, even there is no problem when I execute the program, however, when I close the application file (*.exe), an 'Application Error' message box appeared and I don't know how...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.