
Sending CTRL key to a comm port?!
I suspect (just guessing) that you really don't need the control key itself,
just the correct ascii code for the combination. If so:
Ctrl-Z is Chr$(26)
I used the following line of code in the KeyPress event to find out:
Debug.Print KeyAscii
>Has anyone had to send a CTRL key combination to a comm port? I need to send
>CTRL-Z and can't for the life of me see how to do it. I have spotted the
>constants (VK_CONTROL) and tried using Chr$(VK_CONTROL)+"Z" but to no effect.
>
>I have a horrible feeling this is going to be embarrassingly easy,once you
know
>it that is!
>
>Any help appreciated
>
>Regards
>Paul
>