|
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 "<EOT>". 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" 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,
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
