How to use POS.NET for a BARCODE SCANNER in a VB.NET application

45 pts.
Tags:
Barcode scanners
Oracle Database
VB.NET
Hi! I have an old office project... Its Point of sale software built in VB.net over oracle db express edition. Its really cool but lucks the barcode scanner functionality. Some customers are demading for that functionality.....bla bla bla!!!  ...Devices I've programmed 4 in the past usually comes with their .NET API / DLLs  to work with but i guess 4 a POS I wld need something generic for all scanner devices.... Heard abt the microsoft.PointOfService namespace.... Can someone give me some explanation on how it works with a bacode scanner? Sample codes would be appreciated. Do i have to create a background service in a separate thread that always runs to detect if a scan has occured? I have a field in my products table for barcode numbers so the plan is to retrieve the barcode number from the scanner and then query the database 4 the item... Any other idea wld be appreciated... thank you!

Software/Hardware used:
microsoft.PointOfService, POS.NET, barcode scanner

Answer Wiki

Thanks. We'll let you know when a new response is added.

For a real simple solution, use a “keyboard wedge” scanner.

These are scanners that plug into a USB (or serial) port and simulate the user typing in the value of the scanned barcode, followed by a (usually programmable) carriage return/line feed.

In the application, you set focus to a text field, then the user clicks the scan button on the scanner. Voila – the scanned value appears in the text field.

These scanners usually can be configured to automatically discard the leading/trailing barcode control characters (like “*” in Code-29), and (depending on the code) to automatically verify and/or discard the checksum check digit(s).<pre>0434[0434</pre>]

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • 49cubes
    You mean to tell me i dont have to write any code to track the scan event? All i need to do is to set focus onto a textbox control... ? THAT WILL BE COOL ....
    45 pointsBadges:
    report
  • carlosdl
    Yes, that is what Kccrosser meant. We have implemented such functionality in the past without [almost] any modification to the applications.
    70,220 pointsBadges:
    report
  • 49cubes
    Thanks Carlosdl ...went window shopping 4 scanners n found this (ms9590 voyager GS). Wanna go get it n try ...hope it works... that wld be a great relief! ...Got other projects to actually focus on!
    45 pointsBadges:
    report
  • 49cubes
    Thanks guys ev'thing worked like MAGIC.... guess i was looking too far something so simple... Thanks once again.... ya contributions were very helpful!
    45 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following