Is it possible to catch a barcode scan event ?

  • Thread starter Thread starter Thomas Christiansen
  • Start date Start date
T

Thomas Christiansen

I'm currently designing a solution, with a HP iPaq and a Symbol scanner
jacket in mind.

I would like a barcode scan to trigger opening a new form with the scanned
value as a parameter. Is this possible and if so, how could it be done ?

Is it possible to catch a event when a barcode is scanned, independent of
the cursor posiiton in netcf ?

Thanks in advance

Thomas
 
If the Symbol is a keyboard wedge, then no. Anything that is scanned is
treated exactly like text typed on the keyboard, there isn't a way to tell
that it's a scan or a key. If the Symbol is a serial device you can do this
pretty easily.
 
Check out Symbol Mobility .NET SDK - they have support for various Symbol
scanners and there is an event generated on successful scan
 
You can install Symbol Mobility Developer Kit for .NET and it has good
examples of barcode scanning. You can add an system.eventhandler after
enabling the Symbol.Barcode.Reader like this
Me.MyReadNotifyHander = New EventHandler(AddressOf
MyReader_ReadNotify)

Everytime a tag is scanned this event will trigger and within the
routine MyReader_ReadNotify you can have your new form load call along
put the scanned tag in a variable.

Dim TheReaderData As Symbol.Barcode.ReaderData =
Me.MyReader.GetNextReaderData

You can get complete examples with the Symbol Mobility kit .I hope
this solves your problem

Anamika
 
Back
Top