Search found 3 matches

by NabDa
Tue Apr 02, 2013 7:28 pm
Forum: Coding Questions
Topic: Keyboard NumLock and CapsLock LED on/off under Win
Replies: 12
Views: 2129

Re: Keyboard NumLock and CapsLock LED on/off under Win

:D Hello !

Maybe these few lines of code may help you:


;
; SendInput API fonction example
;

Define evnt.INPUT

evnt\type = #INPUT_KEYBOARD
evnt\ki\wVk = #KEYEVENTF_EXTENDEDKEY
evnt\ki\wScan = 0; // hardware scan code for key
evnt\ki\time = 0;
evnt\ki\dwExtraInfo = 0;

; simulate the caps/or num ...
by NabDa
Sat Sep 22, 2012 7:42 pm
Forum: Coding Questions
Topic: Obtain the serial number of USB key
Replies: 22
Views: 7553

Re: Obtain the serial number of USB key

Thanks a lot falsam for your WMI Tutorial, before I read it, i had no ideas of how to use WMI at all !!
WMI was an unreachable micro$oft secret for me...
Now , i think that i would be able play with my usb keys and compare the result with usbdeview
but i doubt of the value given as serial number by ...
by NabDa
Fri Sep 21, 2012 3:34 pm
Forum: Coding Questions
Topic: Obtain the serial number of USB key
Replies: 22
Views: 7553

Re: Obtain the serial number of USB key

Good evening,

For those who would be interested by the USB key serial number, and how to find it.
if you have good knowledge in vb (i think it's vb ), the following link speaks about usb based devices...

http://www.emmet-gray.com/Articles/USB_ ... umbers.htm