Solved

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

Posted on 2003-11-14
4
514 Views
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.

Thanks
0
Comment
Question by:davemiles
4 Comments
 
LVL 28

Expert Comment

by:AzraSound
ID: 9750222
http://www.asciitable.com/

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.
0
 
LVL 85

Accepted Solution

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

http://www.csgnetwork.com/asciiset.html

Idle_Mind
0
 
LVL 3

Expert Comment

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

Gajendra
0
 

Author Comment

by:davemiles
ID: 9752792
Chr$(19) works great

chr(19) does not ....

Thanks for the input!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Excel Spreadsheet - Send email if certain value is selected. 14 87
VB 6.0 printer how to align 6 58
Put text in a picture ASP.NET C# 2 50
How to Add / Edit Windows Menu 4 52
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

895 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now