how to send <ctrl-z> to hyperterminal
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: how to send <ctrl-z> to hyperterminal

  1. #1
    Andy Tacker is offline More than "Just Another Member"
    Join Date
    Jun 2001
    Location
    5550' N 3739' E
    Posts
    1,503

    how to send <ctrl-z> to hyperterminal

    hi!
    i am working on a project where i need to send SMS through GSM phone.

    so, basically, in hyper terminal i can type command and press <CTRl+Z> which marks the end of command and press enter to send the message.

    how i can send <CTRL-Z> through class streamwriter? anyone any guess?

    basically, its ASCII equivalent is "1A".
    If you think you CAN, you can, If you think you CAN'T, you are probably right.

    Have some nice Idea to share? Write an Article Online or Email to us and You may WIN a Technical Book from CG.

  2. #2
    Andy Tacker is offline More than "Just Another Member"
    Join Date
    Jun 2001
    Location
    5550' N 3739' E
    Posts
    1,503
    well, as always, long live C.

    anykind of Ascii symbol can be send to any place, anywhere using the format

    \x[ASCIICODE]

    so, in my case it came as
    \x1A
    If you think you CAN, you can, If you think you CAN'T, you are probably right.

    Have some nice Idea to share? Write an Article Online or Email to us and You may WIN a Technical Book from CG.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center