Solved

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

Posted on 2003-11-14
4
512 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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.
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

706 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

19 Experts available now in Live!

Get 1:1 Help Now