-
sms and coding
hi friends can anyone explain to me what does below code do;
Code:
Function SendSMS(ByVal MobNo, ByVal Msg)
Dim what As Boolean
what = sendIt("AT+CMGS=" & Chr(34) & MobNo & Chr(34), ">", "ERROR")
If what = True Then
what = sendIt(Msg & Chr(26), "OK", "ERROR")
End If
AT = "UTF-8"
SendSMS = what
End Function
thanks
-
Re: sms and coding
Code from your post sends sms message and I think it's quite obvious.
What's missing is function named "sendIt" - you need to get it from wherever you got the original code in your post.
Also, there is a variable AT - apparently it's a String type and since it's not declared localy I presume its scope is public (perhaps declared in the module).
-
Re: sms and coding
thank you so much,do you know any way so I can send some otheres characters,from non english language?how should it be modified?