Link to home
Start Free TrialLog in
Avatar of sasllc
sasllcFlag 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

Avatar of efatihan
efatihan
Flag of Türkiye image

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
Avatar of sasllc
sasllc
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 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?

Avatar of sasllc

ASKER

I am accepting my own answer because no effective answers were provided.