473,394 Members | 1,971 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,394 software developers and data experts.

C# and Bar Codes

Has anyone had experience with using bar codes with C#. I have a client who
wants to read a bar code with a patient's number on it and then look up the
patient in a database. I know they will need a scanner and decoder but what
will I need from a C# programmers perspective to read in the results of the
scan?
--
Robert Hill

Nov 17 '05 #1
7 1797
Most scanners (Symbol, HHP, etc...) provide an SDK that allows you to
configure and read scan results.

If you use a keyboard wedge type USB scanner, then the data will appear as
if it were typed in via a keyboard.

Yosh

"Robert" <rh******@hotmail.com> wrote in message
news:3E**********************************@microsof t.com...
Has anyone had experience with using bar codes with C#. I have a client
who
wants to read a bar code with a patient's number on it and then look up
the
patient in a database. I know they will need a scanner and decoder but
what
will I need from a C# programmers perspective to read in the results of
the
scan?
--
Robert Hill

Nov 17 '05 #2
Thanks. Do you recommend a brand of scanner?
--
Robert Hill

"Yosh" wrote:
Most scanners (Symbol, HHP, etc...) provide an SDK that allows you to
configure and read scan results.

If you use a keyboard wedge type USB scanner, then the data will appear as
if it were typed in via a keyboard.

Yosh

"Robert" <rh******@hotmail.com> wrote in message
news:3E**********************************@microsof t.com...
Has anyone had experience with using bar codes with C#. I have a client
who
wants to read a bar code with a patient's number on it and then look up
the
patient in a database. I know they will need a scanner and decoder but
what
will I need from a C# programmers perspective to read in the results of
the
scan?
--
Robert Hill


Nov 17 '05 #3
It really depends on the application. For example, we are using Symbol
Wireless 802.11 scanners (running Windows Pocket PC) because we need the
ability to move freely in the warehouse.

Some clients use a tethered scanner (hooked to a pc) because the are sitting
or standing at a register.

Symbol is a well known brand.

Yosh

"Robert" <rh******@hotmail.com> wrote in message
news:8F**********************************@microsof t.com...
Thanks. Do you recommend a brand of scanner?
--
Robert Hill

"Yosh" wrote:
Most scanners (Symbol, HHP, etc...) provide an SDK that allows you to
configure and read scan results.

If you use a keyboard wedge type USB scanner, then the data will appear
as
if it were typed in via a keyboard.

Yosh

"Robert" <rh******@hotmail.com> wrote in message
news:3E**********************************@microsof t.com...
> Has anyone had experience with using bar codes with C#. I have a
> client
> who
> wants to read a bar code with a patient's number on it and then look up
> the
> patient in a database. I know they will need a scanner and decoder but
> what
> will I need from a C# programmers perspective to read in the results of
> the
> scan?
> --
> Robert Hill
>


Nov 17 '05 #4
I have used Welch-Allyn scanners before, and can recommend them.

Thanks

"Robert" <rh******@hotmail.com> wrote in message
news:8F**********************************@microsof t.com...
Thanks. Do you recommend a brand of scanner?
--
Robert Hill

"Yosh" wrote:
Most scanners (Symbol, HHP, etc...) provide an SDK that allows you to
configure and read scan results.

If you use a keyboard wedge type USB scanner, then the data will appear
as
if it were typed in via a keyboard.

Yosh

"Robert" <rh******@hotmail.com> wrote in message
news:3E**********************************@microsof t.com...
> Has anyone had experience with using bar codes with C#. I have a
> client
> who
> wants to read a bar code with a patient's number on it and then look up
> the
> patient in a database. I know they will need a scanner and decoder but
> what
> will I need from a C# programmers perspective to read in the results of
> the
> scan?
> --
> Robert Hill
>


Nov 17 '05 #5
Hi,

well the scanner we use is hooked between the PC and the keyboard, this
makes handling easy since the data from the barcode comes with a
keydown-event ;-)

If you need to print the barcode, too, I would provide you a class
collection capable of the following barcodes

128
93
39

I had no time to implement more but they will follow...

Regards,

Martin
Robert wrote:
Has anyone had experience with using bar codes with C#. I have a client who
wants to read a bar code with a patient's number on it and then look up the
patient in a database. I know they will need a scanner and decoder but what
will I need from a C# programmers perspective to read in the results of the
scan?

Nov 17 '05 #6


hi
i want to kown how read data from barcode machine from com ports
and display its data in sample window as image
thanks
*** Sent via Developersdex http://www.developersdex.com ***
Nov 17 '05 #7
not done it in C# but in vbsux we use barcodes. . .

the barcode reader is just another input device like the keyboard.
you press the button on the reader and it sends keys to the app just like
hitting a key on the keyboard. the end of the barcode is a new line.

The barcode is just a font that needs to be installed.
just draw the string that was 'typed' in by the reader in the barcode font
to a canvas.

make sense???


Nov 17 '05 #8

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

Similar topics

2
by: Michael Bendzick | last post by:
Is there a simple way in python to read a keyboard scan code? I'm working on a shell script that interfaces with a proprietary keyboard device (extra buttons) and need to be able to distinguish...
1
by: Yong Wang | last post by:
Hi, All: We have a network management system written in C++, MysQL, and Hp SNMP. It works in Solaris command line. When I wrote a similar python codes which call compiled C++ and mysql codes in...
29
by: Maurice LING | last post by:
Hi, I remembered reading a MSc thesis about compiling Perl to Java bytecodes (as in java class files). At least, it seems that someone had compiled scheme to java class files quite successfully....
8
by: Shane Groff | last post by:
I know this is a recurring discussion (I've spent the last 3 days reading through threads on the topic), but I feel compelled to start it up again. After reading through the existing threads, I...
6
by: Josh Mcfarlane | last post by:
I keep trying to get myself out of the return-code mindset, but it doesn't seem to work. They are suppose to get rid of if-then statements of return codes, but you still have to do an if statement...
3
by: aman | last post by:
i know how to get scan codes and ascii codes for special keys. i can get ascii codes of alphabetic keys. how does one get scan codes of alphabetic keys??
18
by: Steve Litvack | last post by:
Hello, I have built an XMLDocument object instance and I get the following string when I examine the InnerXml property: <?xml version=\"1.0\"?><ROOT><UserData UserID=\"2282\"><Tag1...
3
by: c# beginner | last post by:
we are trying to standardize return codes across our .NET applications (that are soon to be developed.) What is the best practice for standardizing return codes? I know of only the following...
3
by: PerlPhi | last post by:
hi! i have a Perl code in here that when ran the program accepts any Perl codes from the user input (<STDIN>, of course use no syntax errors), then after breaking the multiline input, the inputs will...
5
by: =?GB2312?B?17/HvyBaaHVvLCBRaWFuZw==?= | last post by:
Hi, I would like to have someone comments on what's the best practice defining error codes in C. Here's what I think: solution A: using enum pros: type safe. better for debug (some debugger...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.