I have a bar-code scanner attached to my windows machine USB port.
Is it possible to create windows service which runs in background and checks if any bar-code is scanned, whenever a bar-code is scanned I want the windows service to handle it and write the input in the text file.