Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to write code to scan barcode

 
Dana Smith
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to scan a 2D barcode and decode its information to textbox, what kind of C# code should I write to implement this function?
 
Flora Henderson
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try to download some demo with simple C# code to generate the barcode. You just need to check the properties of the 2D barcode you need to create, and then set the barcode type, barcode encoding data, barcode event according to the properties and simple code listed on the demo. And usually I will get full version of the codes in the purchased one.
 
Leo sheperd
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, what 2D barcode you are decoding? 2D barcode has a little more complex than linear barcode. Here is an article which may be helpful, please check it: http://www.codeproject.com/Articles/20574/Open-Source-QRCode-Library
 
Cliff johnson
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
C# 2D barcode Control DLL could be useful.I've used font barcode. It always has repeated work to do.
 
Lyndon william
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don`t see there is a need to write codes to decode barcode. Codes is used for generating barcodes. For decoding barcode, a barcode scanner is enough.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic