Avatar of sasllc
sasllc
Flag for United States of America asked on

How to programmatically scan bar codes?

We have been using DataWedge for years to scan barcode data into text boxes on our forms, running on CE 5.0-based Symbol 9090s.  Now I need to know how to add the needed code to my vb app that will let it read that same barcode data without using DataWedge.  I have looked at the samples from Symbol, but they are making no sense to me.

I'm hoping someone can give me a CLEAR, understandable example of what code needs to be added, or can point me to a comparable, well-documented example...TIA

Smartphone Programming.NET ProgrammingVisual Basic.NET

Avatar of undefined
Last Comment
sasllc

8/22/2022 - Mon
efatihan

download the symbol sdk from the following url

http://support.symbol.com/support/search.do?cmd=displayKC&docType=kc&externalId=12623&sliceId=&dialogID=229930432&stateId=1%200%20229884705

there is a sample for barcode reading. It is actually very clear but if you have any questions, i would like to answer.

What you shouldn't forget is don't use datawedge and code at the same time. disable datawedge.

enable the barcode reading at the time you open the form that you are going to use it and on closing disable it. the device will consume less energy and also you will have less memory problems.
ASKER CERTIFIED SOLUTION
sasllc

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
sasllc

ASKER
And now I see where I can add that   * Barcode1   to the bottom of my form by opening the toolbox and double clicking on the one named 'Barcode' under the 'Motorola' section.  When I do that, then the 'Handles clause...' erro is resolved, but I get additional errors, such as:

'Results' is ambigous in the namespace 'Symbol'.
'UPC' is ambiguous in the namespace 'Symbol.Barcode'.

What do these mean, and how do I resolve them?

sasllc

ASKER
I am accepting my own answer because no effective answers were provided.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck