PC Review


Reply
Thread Tools Rate Thread

Detecting swipe/ Barcode reader input

 
 
steve
Guest
Posts: n/a
 
      13th Aug 2005
Hi All

I need to write a program to read input from barcode scanner.

The program is for a gym and needs to detect when a card is scanned
regardless of which program is currently running ont he computer. e.g the
operator might be typing a letter and a member swipes his card.

I am convinced I need to write the card reader section as a Windows Service,
so it is active always?

Do I watch for card reader input on a timer loop or is their an event I can
use?

Sorry for being vague, but I am new to bar code readers

I am using Vb net 2003 and the program will run on a PC with WindowsXP home


Regards
Steve


 
Reply With Quote
 
 
 
 
steve
Guest
Posts: n/a
 
      13th Aug 2005
Hi All

Forgot to add scanner will be probably keyboard wedge type or maybe
USB/Serial

Regards
Steve


"steve" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi All
>
> I need to write a program to read input from barcode scanner.
>
> The program is for a gym and needs to detect when a card is scanned
> regardless of which program is currently running ont he computer. e.g the
> operator might be typing a letter and a member swipes his card.
>
> I am convinced I need to write the card reader section as a Windows
> Service, so it is active always?
>
> Do I watch for card reader input on a timer loop or is their an event I
> can use?
>
> Sorry for being vague, but I am new to bar code readers
>
> I am using Vb net 2003 and the program will run on a PC with WindowsXP
> home
>
>
> Regards
> Steve
>



 
Reply With Quote
 
Dick Grier
Guest
Posts: n/a
 
      13th Aug 2005
Hi,

If this is serial (or USB virtual serial), then you do not need to write a
service -- though it could be coded as such). I have examples in my book,
see below. However, if you use a keyboard wedge, or a USB reader that
emulates a keyboard HID device, then you CANNOT use a service. These
devices demand a UI with focus continuously set to a text window for input.
They are unsuitable for unattended operation.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.


 
Reply With Quote
 
=?Utf-8?B?S2VuIFR1Y2tlciBbTVZQXQ==?=
Guest
Posts: n/a
 
      14th Aug 2005
Hi,

Maybe this will help.

http://www.codeproject.com/vb/net/demmvbscan.asp

Ken
-------------------------

"steve" wrote:

> Hi All
>
> I need to write a program to read input from barcode scanner.
>
> The program is for a gym and needs to detect when a card is scanned
> regardless of which program is currently running ont he computer. e.g the
> operator might be typing a letter and a member swipes his card.
>
> I am convinced I need to write the card reader section as a Windows Service,
> so it is active always?
>
> Do I watch for card reader input on a timer loop or is their an event I can
> use?
>
> Sorry for being vague, but I am new to bar code readers
>
> I am using Vb net 2003 and the program will run on a PC with WindowsXP home
>
>
> Regards
> Steve
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
input box scrolling with barcode reader input =?Utf-8?B?Y2oyazJr?= Microsoft Excel Misc 0 18th Jun 2007 07:23 AM
How do I input data with a serial port barcode reader into access =?Utf-8?B?Q2xpZmY=?= Microsoft Access 1 17th Jul 2006 09:01 PM
Swipe Card Reader & Access =?Utf-8?B?c2ptX21pbGxlcg==?= Microsoft Access Getting Started 0 28th Apr 2006 04:12 PM
barcode reader input problem =?Utf-8?B?aGFuaw==?= Windows XP General 4 29th Mar 2005 12:35 AM
Howto: redirect input to a queue.from a USB barcode reader =?Utf-8?B?Ui4gU3lsdmFpbiBCw6lkYXJk?= Microsoft Dot NET 0 6th Feb 2005 03:39 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:47 AM.