Click here to Skip to main content
15,795,581 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am writing a serial port communications app for configuring Cisco routers and switches. I have it pretty much finished, except for one thing. I cannot figure out how to send an arrow key through the serial port, as it does not generate an ASCII value.

The arrow keys are used to cycle through the previously entered commands.

Does anybody know how to send arrow keys over a serial port in VB 2008?
Posted
Comments
Rahul JR 3-Dec-14 8:03am    
HI @evbutcher

I read your question it seems you have finished communication with serial port.
I need your help i have serial port dll and all that, and i can read data from port as well but i don't know how to send a data to serial port from my code so please help me out for sending a command or code to serial port


Thanks in advance...

This page [^] suggests the sequences CTRL-P, CTRL-N.
:)
 
Share this answer
 
Thank you, sir! That seems like it would be best!

Though, I wonder still how to send a signal via serial indicating an arrow key has been pressed... this answer is perfect for my purposes!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900