Solved

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

Posted on 2003-11-14
4
524 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 86

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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
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…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

752 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