If you would need to read a barcode from a scanned image you could look at these articles:
Read Barcodes from an Image[
^]
Reading Barcodes from an Image - II[
^]
If you are using a barcode scanner to directly read barcodes you don't need anything (besides the barcode scanner itself). The barcode scanner is like a keyboard and when it scans a barcode, the code is typed just like you would do using the normal keyboard. The only thing you need is to make sure that the correct application is active to catch the input. You can test it simply by opening notepad and use the connected barcode scanner to scan a barcode. It is actually really easy to work with.
Good luck!