List Info

Thread: Barcode displayed in a text box




Barcode displayed in a text box
user name
2006-05-01 11:31:51

Hi all,

 

I have a barcode scanner which uses a "keyboard wedge"; program so that the data it scans comes through as if it was typed on a keyboard. I am trying to have the data in the barcode be displayed in a text box. I know that there are certain control characters embedded in the data that I want to display substitutions for in the text box, for instance I want to replace ASCII character 04 with the string &quot;<EOT&gt;".&nbsp; I have tried doing a simple replace in the Text Changed event, but it appears that the Textbox Control strips out the control characters as they come in. I also tried catching the "keystrokes&quot; using the Key Up event, but that seems to have done something (and I can't figure out what) with some of the control characters and added other characters that are not in the data. Does anyone have any suggestions as to how I can accomplish this? I know what the data encoded in the barcode is, and I can verify that the scanner is reading it properly - I just can't get it into a C#.Net text box properly.

 

Regards,
Mohammad Parwez Akhtar 
(UEC/2343) -  Shurooq
PDO LLC, PO Box 81,
Postal Code 113, Muscat
Phone (968) 2467-0784, GSM (968) 99502856

email : pdo.co.om">Akhtar.Parwezpdo.co.om

 



[1]

about | contact  Other archives ( Real Estate discussion Medical topics )