Link to home
Start Free TrialLog in
Avatar of RobS
RobS

asked on

Serial Port / Keyboard Port Commuication

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
Avatar of rmichels
rmichels

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.
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.

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 :)
Avatar of RobS

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of kfrick
kfrick

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial