473,387 Members | 1,530 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Barcode scanning

Greetings,
I would like to integrate a barcode scanner into the current project I
am working on. I have been looking around teh web and with the
exception of embeded devices I cannot find many programming guides.
What I am looking for is a barcode scanner with an api/sdk. I am not
interested in using a keyboard wedge because I do not want my end user
to have to deal with making sure the cursor is in the right place.

As it needs to work with a laptop USB is really my only option. The
laptops that will be used do no come with serial. My ideal set up
would be a barcode scanner that comes with a decent api. Ideally
there would be some system event I could subscribe to which would
notify the system that a barcode has been scanned and pass it the
string.

For the life of me I cannot find anything like this though. It has
gotten me to the point where I am wondering if I am missing
something. Do all scanners these days just use the keyboard wedge
technique or are there some that you can actually program into your
application. If anyone has a recommendation on a scanner to use
(doens't have to be c#) which does what I am looking for I would be
very appreciative..

Feb 21 '07 #1
4 4531

Hi

Take a look at this web site.
http://www.icsharpcode.net/
They have a low level USB library maybe you could use this with a keyboard
wedge and control the input.
One thought though.
Surely it is going to be simpler to control where the users Curser is with
code rather than dealing with a low level api?

ink

<dj*****@gmail.comwrote in message
news:11**********************@l53g2000cwa.googlegr oups.com...
Greetings,
I would like to integrate a barcode scanner into the current project I
am working on. I have been looking around teh web and with the
exception of embeded devices I cannot find many programming guides.
What I am looking for is a barcode scanner with an api/sdk. I am not
interested in using a keyboard wedge because I do not want my end user
to have to deal with making sure the cursor is in the right place.

As it needs to work with a laptop USB is really my only option. The
laptops that will be used do no come with serial. My ideal set up
would be a barcode scanner that comes with a decent api. Ideally
there would be some system event I could subscribe to which would
notify the system that a barcode has been scanned and pass it the
string.

For the life of me I cannot find anything like this though. It has
gotten me to the point where I am wondering if I am missing
something. Do all scanners these days just use the keyboard wedge
technique or are there some that you can actually program into your
application. If anyone has a recommendation on a scanner to use
(doens't have to be c#) which does what I am looking for I would be
very appreciative..

Feb 21 '07 #2
Jay
One possibility is to use a barcode scanner with an RS232 interface, and use an adapter to connect
it to a USB socket. You could then do exactly what you want to do using built-in classes in the .NET
2.0 framework and above (see the System.IO.Ports namespace).
<dj*****@gmail.comwrote in message news:11**********************@l53g2000cwa.googlegr oups.com...
Greetings,
I would like to integrate a barcode scanner into the current project I
am working on. I have been looking around teh web and with the
exception of embeded devices I cannot find many programming guides.
What I am looking for is a barcode scanner with an api/sdk. I am not
interested in using a keyboard wedge because I do not want my end user
to have to deal with making sure the cursor is in the right place.

As it needs to work with a laptop USB is really my only option. The
laptops that will be used do no come with serial. My ideal set up
would be a barcode scanner that comes with a decent api. Ideally
there would be some system event I could subscribe to which would
notify the system that a barcode has been scanned and pass it the
string.

For the life of me I cannot find anything like this though. It has
gotten me to the point where I am wondering if I am missing
something. Do all scanners these days just use the keyboard wedge
technique or are there some that you can actually program into your
application. If anyone has a recommendation on a scanner to use
(doens't have to be c#) which does what I am looking for I would be
very appreciative..
Feb 21 '07 #3
Hi,

<dj*****@gmail.comwrote in message
news:11**********************@l53g2000cwa.googlegr oups.com...
For the life of me I cannot find anything like this though. It has
gotten me to the point where I am wondering if I am missing
something. Do all scanners these days just use the keyboard wedge
technique or are there some that you can actually program into your
application. If anyone has a recommendation on a scanner to use
(doens't have to be c#) which does what I am looking for I would be
very appreciative..
I only have experience working with PDAs scanners, so take this with a grain
of salt.

Go to Symbol.com they offer the biggest varieties of scanners. They also
provide a SDK to use them, if you find this combination (usb scanner + SDK
support) it's extremely easy to add to your project.
Feb 21 '07 #4
Most Barcode scanners like the ones from Wasp, just plug into a USB or even
the PS2 port and will enter text just like a keyboard so all you have to do
is give it a TextBox to enter its data into. You can even program most of
them to either add a CRLF at the end of the text or not. You really don't
need to do any special coding for them.

We have some applications that read serial numbers with a barcode scanner
and it just enters them into a text box and with the CRLF and the default
button on a form it will basically enter the scanned text and then press the
button.

Hope that helps.

Eric Renken
<dj*****@gmail.comwrote in message
news:11**********************@l53g2000cwa.googlegr oups.com...
Greetings,
I would like to integrate a barcode scanner into the current project I
am working on. I have been looking around teh web and with the
exception of embeded devices I cannot find many programming guides.
What I am looking for is a barcode scanner with an api/sdk. I am not
interested in using a keyboard wedge because I do not want my end user
to have to deal with making sure the cursor is in the right place.

As it needs to work with a laptop USB is really my only option. The
laptops that will be used do no come with serial. My ideal set up
would be a barcode scanner that comes with a decent api. Ideally
there would be some system event I could subscribe to which would
notify the system that a barcode has been scanned and pass it the
string.

For the life of me I cannot find anything like this though. It has
gotten me to the point where I am wondering if I am missing
something. Do all scanners these days just use the keyboard wedge
technique or are there some that you can actually program into your
application. If anyone has a recommendation on a scanner to use
(doens't have to be c#) which does what I am looking for I would be
very appreciative..

Feb 21 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: CHANGE username to westes | last post by:
What are the most popular, and well supported, libraries of drivers for bar code scanners that include a Visual Basic and C/C++ API? My requirements are: - Must allow an application to be...
1
by: Chad | last post by:
Hello, I am working with a client who wants to integrate barcode scanning technology into a website I'm building for him (ASP and ASP.NET site). Specifically, he wants to use barcode scanning in...
8
by: DS | last post by:
Does anyone know anything about barcodes in Access. I don't want to create them in Access. I merely want to scan whats already been created. I need to scan Liquor bottles. I have the scanner...
4
by: teddysnips | last post by:
My clients want their employees to log in by scanning a barcode on their passes. I've set up a web page with a text box to capture the scanned barcode. Two questions. 1. Can anyone think of...
1
by: Bruce D | last post by:
I'm researching a VB .NET project that will have two functions: 1 - scan images using TWAIN drivers of scanner 2 - read barcode of that scanned image I've been researching many companies and was...
2
by: Camelduke | last post by:
My company is considering the development of a mobile device that integrates 2D barcode scanning among its features. However, our engineering team is stymied as they believe that we are unable...
6
by: Samuel Shulman | last post by:
I would like to add barcode functionality to my POS program How does one attach barcode reader is it usually USB port How can the program get the data read by the device Thank you, Samuel
2
by: nmrpa91290 | last post by:
Hi, I am in the design phase of building a database that will track the productivity of my warehouse. I am thinking of using a barcode scanner to assist me with this. Employees will hopefully...
7
by: jim | last post by:
I need to have 2 simple barcode reader applications finished by midnight tonight. I have never written any barcode reader software and need any help that you may be able to offer. I do not know...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.