title: Barcode scanner with a WPF application
body: <p>I have a barcode scanner (bluetooth) connected to my computer to use for scanning some barcodes. The scanner acts exactly like a keyboard does and returns whatever it scans. In my WPF application I have some textboxes for the user to manually enter in a product number, revision number, bin number, and lot number.</p>
  
  <p>I would like the user to be able to instead scan the QR/Bar? code which has all that information in it at any time. So I have a few issues:</p>
  
  <ol>
  <li><p>Is it possible to scan a barcode with your focus on anything in the app and NOT write it out like a keyboard? Example, I have a random textbox highlighted right now but I go and scan a code - I dont want the code to fill in this random textbox - I would want something like all the scanned text goes into a variable.</p></li>
  <li><p>If step 1 is not possible. The way  I currently have it set up is you need to click into a specific textbox. Which on TextChanged will parse it and try to figure out where the pieces need to go. But it will trigger when each character is added to the box. I have about ~30 characters per code so this will slow it down tremendously. I tried to see what other event might work but I don't see any other solution to that issue? Is there some other event that I'm just missing?</p></li>
  </ol>
  
  <p>Thank you</p>