|
Thanks again.
I think it will completely disable the keyboard, but in my case user have to do some entries in the program after getting logged in by scanner. So how could I synchronize my external application with the existing application, so that it will enable the keyboard after scanner scanned the barcode and authorize the user. And also how could I disable the keyboard again when user finished his work and logged out (Log out is based on Y/N confirmation message).
Is any way to do it.
|
|
|
|
|
I used to work on those things in a retail store, and I doubt that there's a way to do it with your current setup. The wedge is simply a term used in the industry that means "we wired two serial devices in parallel so we wouldn't need a separate jack." That's literally how they're wired! The computer (or terminal) has no way to tell which device is sending data. The only suggestion I can make is to select a special character to insert in your authentication barcode which the scanner can produce, but the keyboard can't.
For instance, very few people remember that ctrl-G was used to ring the bell on a remote teletype, and DOS-based PCs kept it to beep the internal speaker. But nothing in Windows uses it, and there's no reason you can't make a scanner read it, if you have a barcode format selected that allows the full ASCII character set. You might use it as a delimiter between the username and password, for instance. Nobody would think of trying to manually type that today.
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
|
|
|
|
|
Thanks Mr. Wright, but then how could I merge this logic with my existing application, because I don't have source-codes. Or I create separate program that detects every input, of the system, then distinguish scanner and keyboard inputs on the basis of special characters. Is it possible.
|
|
|
|
|
Yes, it is possible, but I'm not a good enough programmer to tell you how to do it. Maybe someday...
Since you can't change the existing program, you need to create a keyboard hook that intercepts inputs from the keyboard port before your existing program gets them, process the data, then pass it on to the usual handler. I believe there are articles on CodeProject that describe how to do that, but I'm not smart enough yet to help. The method I suggested may not be the best way to do it, but my point was that Windows does not have a way to tell where the input is coming from; you need to provide some distinguishing feature that you can grab and process. Whatever you can do to make the scanner input look different from a regular keyboard input will do the job. All you need to do is catch it and process it.
Search the articles here, and I think you'll find an answer. I look forward to reading the article you write about the solution one day soon. And, by the way, I'm Roger to my friends, not Mr. Wright, and I consider all my associates at CodeProject friends. Welcome to the neighborhood, Ravi.
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
|
|
|
|
|
Thanks Roger, I will definitely try this, and let you know.
|
|
|
|
|
You're welcome, and be sure to check Dan Neely's response below. H provided two excellent references.
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
|
|
|
|
|
|
Good references, Dan!
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
|
|
|
|
|
Please help....
I use RASAPI32.RasEnumDevices to determine which RAS devices (ISDN or Modems) by name and type are connected to my computer. I use System.IO.Ports.SerialPorts to list all of my COM ports which also shows if a modem device is connected. I use these devices in connecting to the internet. The phonebook entry for the device is created on-the-fly.
What I need now is to put it together. How or where can I find out in WIN XP which RAS Device name is on which port. I need the port for issuing AT commands. I use an analog modem, an ISDN FRitz Card and a UTMS modem card.
WMI.POTSmodem does not list any of these devices.
Coding is in C#.
Ralph
|
|
|
|
|
Hi,
I don't know if it is the right place to ask this question, if it a'int kindly guide me to the right place.
Problem:
I have a Live raw video feed from a camera connected to a video capture card which doesn't support hardware based video compression, so i wish to use some software based compression technique.
I have an nvidia Graphic Card (8400 GT). I wish to inquire whether there is any video codec currently available which i can use to do a Live GPU based encoding of the raw video feed. And does ffdshow currently supports GPU based encoding.
Any help will be greatly appreciated.
Thank you...
|
|
|
|
|
Hi,
I want to ask where to get a wireless device to have a hotsport just like the one they use in costa coffee and other coffee shop where you buy and then they will print a receipt contains user ID and password which allows you connect to the internet?
|
|
|
|
|
I have also seen the same in some hotels like sheraton?
|
|
|
|
|
Try a wireless hotspot shop.
Morality is indistinguishable from social proscription
|
|
|
|
|
I want to ask what operating system runs on ATM?
|
|
|
|
|
Again, anything you want... Linux, Windows NT or better, ... They are just PC's with custom hardware...
|
|
|
|
|
I want to ask what operating system runs on Kiosks?
|
|
|
|
|
Again, anything you want... Linux, Windows NT or better, ... They are just PC's with custom hardware...
|
|
|
|
|
I want to ask what programming language they use for ATM?
|
|
|
|
|
Same answer as before... anything you want.
|
|
|
|
|
I want to ask what programming language they use for Kiosk?
|
|
|
|
|
Depends a bit on the application, but there is no one langauge used for any app in a kiosk environment. You can use anything you want.
|
|
|
|
|
I made a web application for a kiosk machine in ASP.NET and I used Sitekiosk to run it is kiosk mode "lock the keyboard and to open the URL in full screen ..etc". But if you could make a windows application and run it in kiosk mode then it would be better especially if your application needs to print something.
|
|
|
|
|
hi there, i have a P4 of CPU 3 GHz(2MB L2 Cache ), MBord Albatron PM945 (phonix Award BIOS v 6.0 PG SMBIOS ver 2.2, PCI bus ver 3.0), 1 GB RAM, video Intel 82945 .
I let my PC open somedays as an alternate server for a vb net SQL server system -there was windows xp professional 2002 upgraded to sp3 2007 - then i found some virus behaviours although there was Antiver 2010 free version. unfottunately i tried many times to install windows again but no use it hangs while loading setup files from CD I began by changing HDD, and I tried changing both CD and CD drive but no use, I also replaced the RAM module with another working one. Finally I used Hiren boot utilities to check all PC activities : RAM, CPU, ....,...... . I feel hopeless. can any one give a hand ??.
ezzat oraby
|
|
|
|
|
Is the cd clean and readable? Maybe try another cd? Also check your bios settings for your harddisk controller, maybe you can put it as Native IDE (most simple but slower). You could also try to check with some other OS that maybe gives you some more info. Simply try ubuntu, it's free, fast and will maybe even give you the answer to your problem!!!
Good luck!
PURPOSE: Delays program execution until designated condition is indicated.
|
|
|
|
|
Please i wamt to create a custom paper size for my Printronix P7000 line printer,
i am using win XP sp2. How do i archieve this.
thanks.
|
|
|
|