
Signature
Ken Halter - MS-MVP-VB - http://www.vbsight.com
Sign up now to help keep VB support alive - http://classicvb.org/petition
Please keep all discussions in the groups..
Ken,
Thank you very much for the fast reply. Chr(26) is the colon character.
How does this translate to CTRL+Z? Does this mean if someone included a
colon in their message it would be interpreted as a CTRL+Z and the message
would be sent unexpectedly?
Randy
> >I have an application that can instruct a cellular modem to send an SMS
> >text
[quoted text clipped - 3 lines]
>
> Send a Chr$(26)...
Karl E. Peterson - 26 Apr 2005 21:52 GMT
> Thank you very much for the fast reply. Chr(26) is the colon
> character.
Umm, no.
Debug.Print Asc(":")
> How does this translate to CTRL+Z?
It's a historical thing. That's the way ASCII works. The first 26 were control
chars.
> Does this mean if
> someone included a colon in their message it would be interpreted as
> a CTRL+Z and the message would be sent unexpectedly?
Absolutely not.
Later... Karl

Signature
Working Without a .NET?
http://classicvb.org/petition
Dick Grier - 26 Apr 2005 21:53 GMT
Hi,
Chr(26) is control-Z, as Ken says. The colon is Chr(58).
Dick

Signature
Richard Grier (Microsoft Visual Basic MVP)
See www.hardandsoftware.net for contact information.
Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.
Randy - 26 Apr 2005 22:18 GMT
Thanks everyone,
My bad. I was looking at the chart wrong. Sorry.
Randy
> Hi,
>
> Chr(26) is control-Z, as Ken says. The colon is Chr(58).
>
> Dick