How can I send non-ASCII characters like Ctrl-S to the serial communication port?

Posted on 2003-11-14
Last Modified: 2010-10-05
How can I send non-ASCII characters like Ctrl-S to the serial communication port?

MSComm.output = "A Special Char. will follow: " & chr(??)

I'd also like a link to a convertion table.

Question by:davemiles
LVL 28

Expert Comment

ID: 9750222

However, ASCII does not define control keys like Ctrl, Alt, and Shift as far as I know.  If you need that functionality, you probably need to designate your own protocol to define how to describe these special requirements.
LVL 85

Accepted Solution

Mike Tomlinson earned 125 total points
ID: 9750449
Ctrl-S, also know as DC3 or XOFF, is Chr$(19).


Expert Comment

ID: 9752717
Ctrl A to Ctrl Z are used as chr(1) to chr(26)


Author Comment

ID: 9752792
Chr$(19) works great

chr(19) does not ....

Thanks for the input!

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Using "ScreenUpdating" 6 73
Child Form in front 4 49
how to Classify of email (pdf attachments) 7 45
how to loop through and process two columns in excel 8 25
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question