I am using Sim900A GSM Modem to Send SMS using AT Command from VB.NET Below is my code but it does not work
whats wrong with the code
Expand|Select|Wrap|Line Numbers
- Dim ph_no As String
- ph_no = Char.ConvertFromUtf32(34) + txtadphonenorec.Text + Char.ConvertFromUtf32(34)
- SP.Write("AT")
- SP.Write("AT+CMGF=1" & vbCrLf)
- SP.Write("AT+CMGS=" & ph_no & "" & vbCrLf)
- SP.Write(txtmsg.Text + Char.ConvertFromUtf32(26))
- Response.Write("Send")