Thx for the reply. Appreciate that. Btw, I'm new to VB so I'm not sure the concept yet, but I know C quite comfortable. So when you say MyArr is a module level variable, I presume you need to add module and declare your array variable MyArr in the module. Can you tell me how this module being...
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()...
thx Matt,
i manage to find out another way to overcome my problem, which is rather straight forward. I didn't realise just now. Btw, thx a lot for your support.
Cheers!
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
Thank you for the reply and the link, it is really great to get the info... really great stuff.... but still can't find oyut my mistake.... do you have any other resources... the thing is my c++ has not have a good base, that's why sometimes this vc++ confuse me a lot
right i'm still working on...
1.you need to create a new class by going to the class view tab, right click and choose 'add class' make sure what is the base class for it....
2. to access it make sure write #include CWidgetlist in the Widget.h
3. declare a variable(object) to CWidgetlist in the CWidget.h file
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...
To Speedo, which operating system that you are using? DOS or Windows? for DOS, you're correct to include<conio.h>, this site explaining on interrupt handler concept in DOS
http://tigcc.ticalc.org/tut/tsrclock.html
however, in Windows you might need VxD device driver which explains in this site...
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.