VB 2008:将箭头键发送到串行端口 [英] VB 2008: Sending arrow keys to serial ports

查看:92
本文介绍了VB 2008:将箭头键发送到串行端口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个用于配置Cisco路由器和交换机的串口通信应用程序。除了一件事,我已经完成了它。我无法弄清楚如何通过串口发送箭头键,因为它不会生成ASCII值。



箭头键用于循环以前的输入命令。



有人知道如何在VB 2008中通过串口发送箭头键吗?

解决方案

< blockquote>此页面[ ^ ]建议序列 CTRL-P CTRL-N

:)


谢谢,先生!这似乎是最好的!



虽然,我仍然想知道如何通过串口发送信号指示已按下箭头键...这个答案是完美的为了我的目的!


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?

解决方案

This page [^] suggests the sequences CTRL-P, CTRL-N.
:)


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!


这篇关于VB 2008:将箭头键发送到串行端口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆