Passing CTRL + Z or EOF with a string

goutham_reddy_d

New member
Joined
Sep 28, 2005
Messages
3
Programming Experience
Beginner
Hi

Iam a new to vb.net programming. and pls excuse me if my quesion phrasing is not correct.

i would like to know how to pass CTRL + Z along with string for example

>test ^Z (^Z = CTRL +Z)

iam in half way for developing a mobile application. iam able to receive messages from my mobile.. but problem lies in sending message .

iam able to send it from hyper terminal. in the following way

step 1:at+cmgf = 1 (setting to text mode)
Step 2:at+cmgs = "2832942424" ---- destination address
Step 3:>test
Step 4:>test ^Z (i reached end of message so i pressed CTRL + Z then the following delivery confirmation is given.)
+cmgs: 202

iam able to execute Step 1 - Step 3 with my vb.net application code, how do i execute Step 4 ...

Please help.
 
Found this:

[FONT=Arial, Helvetica]Q: What's the ASCII code for CTRL-A, or CTRL-Z?
A: The value for CTRL-A (^A) is 01. The value for CTRL-Z (^Z), which is often used as an end-of-file marker in DOS is 26 (decimal). All the other CTRL-B through CTRL-Y characters fall in between. (CTRL-B is 2, CTRL-C is 3, and so forth.)

perhaps something like: not positive
chr(26)
[/FONT]
 
sms+CTRL+Z

Hy,
I am having the same problem with sending a message and using CTRL+Z, and it doesn't work with chr(26).I am also new to vb.net. Can you please show me the code for sending a message.Pleaseee:eek:
 
Back
Top