Bar code scanner

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
I develope an application to run on Pocket PC to scan bar codes and verify them
I have some quistions
1. How can I detect scanning operation, or handle Scan Triggers (yellow buttons)
2. How can I use Scroll Buttons and yellow buttons to navigate my application instead of Stylus
3. How can I run an alarm (sound file)

Thanks
Ayman
 
You're obviously taking about *very* specific hardware (yellow buttons?)
What hardware are you talking about?

Paul T.
 
Yellow buttons are that buttons I use to scan bar code

I mean in other words : How to use PPC buttons to navigate my application (as Tab and Enter buttons in keyboard), without using stylus

Thanks
Ayman
 
Hello,

Paul is asking about your hardware specification. What kind of PPC do you
use?
Symbol? or other types PPC?

Scroll buttons or Navigation buttons will send VK (Virtual Key) values to
your applicatoin.
And if in ListBox or some other controls, you can use Scroll buttons
directly to move up/down
in that control to select items.
As Tab/Enter, you have to get VK value and handle within your apps.

--
Best Regards,
Jan Yeh

MVP(Windows CE.NET), MCAD, .NETcf Developer & Consultant
Mobile Mind Co., Ltd. @ Taiwan

Ayman said:
Yellow buttons are that buttons I use to scan bar code.

I mean in other words : How to use PPC buttons to navigate my application
(as Tab and Enter buttons in keyboard), without using stylus?
 
As Paul stated, not every PPC has "yellow buttons" so it's difficult to
answer the question. I *think* you're using a Symbol device, and therefore
I *believe* that the button is a proprietary one, which I *assume* you'll
need info from Symbol on. I can say the button is *defininitely* not a PPC
standard button (there is no PPC-standard barcode scanner API), so it's not
going to be a PPC API. It will be something from the OEM, and that's *if*
they provide a hook.

Of course since we don't know what device you're using, that's mostly
conjecture and hand-waving, which is why Paul asked what device you were
using.

--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net


Ayman said:
Yellow buttons are that buttons I use to scan bar code.

I mean in other words : How to use PPC buttons to navigate my application
(as Tab and Enter buttons in keyboard), without using stylus?
 
On Symbol 2800 (and other models) the yellow buttons are activated
automatically once you activate the scanner.
See Symbol Mobility .NET Toolkit for samples and APIs. For an old-fashioned
unmnaged approach you can take a look at
Scanner sample at http://www.alexfeinman.com/samples.asp
 
This could be an Intermec device as well.
If the BarcodeReader class is used and the app is subscribed to
BarcodeRead event, it will receive the scanned barcode information. If
the BarcodeReader class is NOT used, by default the application will
receive the barcode in any edit field that has the focus.

Ronald.
 
Back
Top