Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: mfm
  • Order by date
  1. mfm

    problem with storing data in an array

    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...
  2. mfm

    problem with storing data in an array

    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...
  3. mfm

    how to use ToUnicode() function?

    huh? I'm not converting a string though. I am trying to retrive the data like hex code from the keys on the keyboard.
  4. mfm

    how to use ToUnicode() function?

    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...
  5. mfm

    how to detect data on few keys on a USB keyboard

    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()...
  6. mfm

    MFC: scanning in a file to get the last value

    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!
  7. mfm

    MFC: scanning in a file to get the last value

    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
  8. mfm

    USB programming - need guidance

    Hi guys, Does anyone know on how to program the USB port? Especially what MFC classes or API functions are needed to read the USB device port.
  9. mfm

    '=' : left operand must be 1-value

    thanks, my mistake... :)
  10. mfm

    '=' : left operand must be 1-value

    what does this means when the error message coming out from the program?
  11. mfm

    Application Error message box

    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...
  12. mfm

    Automation DLL using appwizard & MFC.

    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
  13. mfm

    Application Error message box

    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...
  14. mfm

    _outp _inp

    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...
  15. mfm

    Toolbar in dialog

    you can see how to add toolbar in dialog based application at this link http://codeguru.earthweb.com/dialog/dlgtoolbar.shtml
  16. mfm

    Need Info On Building A Boot Server!!

    I am building a boot server (probably on an Ultra 60). Any good instructions or good sites with good instructions would be extremely helpful :)

Part and Inventory Search

Back
Top