XP (and other Window platforms) only sends keyboard messages to active windows.
The easy way to get around this is to poll keyboard status, LabVIEW provided a set of VIs to do this. Take a look functions -> Advanced -> Input Device Control palette.
To capture keyboard events (f your application window isn't active window), you have to create
your own dll, and set global hook.
George Zou
http://gtoolbox.yeah.net
George Zou