Pregunta

Im sending commands to my serial device, like so:

SerialPort.write("Q")

Now lets say I wanted to send a key combination to my device, such as "Ctrl + R".

I've already tried:

SerialPort.write(keys.control AndAlso keys.R)

But it does not send the right keys to my device. Am I doing it wrong? If so, what is the right approach.

Thanks

¿Fue útil?

Solución

Heres the answer:

serialport1.write(New Byte(){18}, 0,1)

Otros consejos

Key CTRL+E:

oCom.Write(New Byte() {5}, 0, 1)
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top