Ok here is some sample code, mostly provided by the MS knowledge base -
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q138774 (thanks to Jack Cowley for pointing it out in another post)
cmdReturn is the button you press to process the entry, and txtBarCode is the text field where...