user179445
user179445

Reputation: 1

How to commnicate with a PDA built-in scanner using vb.net smart device?

I am developing an application to run on a PDA. The PDA is running on Windows CE 5.0 and has a barcode scanner integrated. I am using Framework 3.5 VB.Net 2008 smart device project to develop my application. Now, my question is about opening the barcode scanner to read scanned barcodes into my PDA application. I used system.io.ports to open COM1, 2, 3 and I can get them opened but obviously none of theses ports opens up the scanner. Any idea how to open/communicate with the PDA scanner?

Upvotes: 0

Views: 1411

Answers (1)

Petros
Petros

Reputation: 8992

Most Windows CE PDAs have a generic driver that make the integrated barcode reader act as if it was a keyboard. In that case, you don't need to do anything to handle the barcode reader. When it reads, and the focus is on a control where you can type, the input is automatically typed as a string.

There are PDAs of course that don't come pre-configured. In these cases, you can usually find a library with examples even in .NET in the device manufacturer's site.

Upvotes: 2

Related Questions