Heres the answer:
serialport1.write(New Byte(){18}, 0,1)
Frage
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
Lösung
Heres the answer:
serialport1.write(New Byte(){18}, 0,1)
Andere Tipps
Key CTRL+E:
oCom.Write(New Byte() {5}, 0, 1)