NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Joseph721
Posts: 2
0 Kudos

Barcode problem in C#

I am going to read a barcode that contains two barcodes from a scanner, one is the UPC barcode, the other is a barcode with quantity. My barcode scanner is a USB simulating a keyboard. The reader provides a return key after each of the two codes. When I scan to the Notepad,it presents UPC code, a return character, the quantity and another return character. I am a Visual studio 2010 user in C#,I am trying using textbox to accepts returns and set to multilines, but there is no quantity barcode shows up, What should i do?
Member
lolo9
Posts: 2
0 Kudos

Re: Barcode problem in C#

Do you use the click event in C#.NET when you generating the barcode?
You need to check the scanning system. And I am just wondering, why not put the quantity into the UPC barcode.

Member
lolo9
Posts: 2
0 Kudos

Re: Barcode problem in C#

Does it work if increase the height of the TextBox? Try making it higher and scanning once again.

Member
viking1
Posts: 1
0 Kudos

Re: Barcode problem in C#

Does it work if increase the height of the TextBox? Try making it higher and scanning once again.

Member
Fitch2
Posts: 1
0 Kudos

Re: Barcode problem in C#

UPC-A printing is not easy, especially for those who knows little about barcode. Print UPC with a C# barcode generator.http://www.onbarcode.com/csharp/

Member
Joseph721
Posts: 2
0 Kudos

Re: Barcode problem in C#

wow.same name.  i have to say.UPC barcodes have fixed length with 12 digits. If I encode quantity in it, the length is extended. I try to increase the height of Textbox, but I don`t see any progress.

Member
susannamoore53
Posts: 1
0 Kudos

Re: Barcode problem in C#

I know a C#.NET barcode reader library that may be in help. BTW, to read UPC-A barcode or UPC-E barcode images correctly, there's some requirements. Besides, checksum, data, the barcode size is also need to be concerned. So, please firstly make sure all your barcode settings during generation are compatible with its latest barcode specifications, like ISO/IEC or GS1 standards.

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page