Click here to Skip to main content
15,888,113 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I want To Develope an application for Windows CE 6.0 OS Device i.e. Barcode scanner Device the Data Get from Scanner and save it in DB.
I want to do
Accept Scans from Motorola/Symbol Barcode Scanners in Windows CE / .NET CF Projects

What I have tried:

I want To Develope an application for Windows CE 6.0 OS Device i.e. scanner the Data Getfron Scanner and save it in DB.
Posted
Updated 10-Mar-16 2:44am
v4

Answering this would be far too comprehensive for "Quick Answers".

But here are some tips:

  • Read the manual of the scanner and application notes if available.
  • Read about the interface used by the scanner and how to access that interface with C#.
  • Read about database design.
  • Learn how to access the choosen database engine with C#.
 
Share this answer
 
As Jochen said, this isn't a good question for this forum. Especially the part about using a database - you should just read some articles here on CodeProject, there are many.

However, here are your options for reading from a barcode scanner:

1) A USB-barcode scanner will have keyboard emulation. Meaning, a scanned barcode will appear at your current input cursor as if you've typed the number/string manually into a keyboard. So you could just have a text input control and just don't bother if it's a keyboard or barcode scanner where the input comes from. Advantage: Easiest to set up. Disadvantage: You have to take care that the text input control always has the input focus when the user might want to scan a barcode.

2) The manufacturer of your barcode scanner MIGHT have an API for it. For low budget scanners there are most often none. Advantage: No trouble with an input control. Disadvantage: You're limiting your application to one type (or certain types) of barcode scanner. More work than for 1)

3) Use the Windows "Raw Input API". Explained and demonstrated in this CodeProject article: Using Raw Input from C# to handle multiple keyboards[^]
Advantage: No trouble with an input control. No trouble with vendor specific API's. Disadvantage: More work than for 1)
 
Share this answer
 
Comments
PRASHANTPTL 11-Mar-16 0:59am    
I am Beginner of Windows CE development so i have no idea to develop the application..
Sascha Lefèvre 11-Mar-16 6:49am    
The best advice I can give you is to start simple :) May sound banal but I mean it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900