Solved

Serial Port / Keyboard Port Commuication

Posted on 1998-10-14
5
302 Views
Last Modified: 2010-04-30
I am wondering if it's possible to send data from a VB program on a laptop to a client system (from the laptop's serial port to the client's keyboard port).  The VB program would mimic a standard keyboard and interact with the client.  Also, no addition VB program should be on the client's system.

I've connected from the laptop to the client throught both system's serial ports and everything works perfectly (the VB program on the laptop mimics the keyboard).  Their's a program on the client that processes the data coming in uses sendKeys and some other processing to send it to the active application.  However, I would like to extend this and connect directly to the keyboard port and not use any addition VB programs.

Also, if I can connect from serial to serial port without an additional VB program on the client, please let me know. It would definitly be acceptable

Code would also be helpful if you know an answer.

Thanks in advance!
- Rob
0
Comment
Question by:RobS
5 Comments
 
LVL 3

Expert Comment

by:rmichels
ID: 1439987
Not sure about connecting to the keyboard port, but you will always needs some program on the client PC, to grab data from the Serial Port and pass it on as if the keyboard was pressed.
0
 
LVL 13

Expert Comment

by:Mirkwood
ID: 1439988
It is impossible to control the keyboard by sending commands to the serial port without any application running on the laptop.

I can give you information about communication over the serial port if that is what you want.

0
 
LVL 1

Expert Comment

by:prozak
ID: 1439989
It seems to me that you want to hook the serial port of your laptop directly to the keyboard port of your client system. I am almost positive that this is impossible. I think it could be possible to do if you had some sort of hardware converter that handled the translation from serial (RS-232) to the keyboard jack (?PS/2?) Good luck :)
0
 

Author Comment

by:RobS
ID: 1439990
Thank you rmichels, Mirkwood and prozak for your comments.  I wasn't sure this was possible (it was just an idea).  Mirkwood, I do have it working from serial to serial and was just wondering about going from serial to the keyboard port, or not using any software on the client.

Again thanks.
0
 
LVL 3

Accepted Solution

by:
kfrick earned 150 total points
ID: 1439991
There is a piece of hardware available to do the job you seek....it is called a Keyboard Wedge. It plugs into the Keyboard Port, then the Keyboard plugs into the Wedge, and there is a serial port also on the Wedge. You can easily input RS-232 serial data into the wedge, and the PC will act exactly as though someone were typing it. This works with any PC application with no additional programming.
Good Luck!
-kf

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now