Results 1 to 3 of 3

Thread: sms and coding

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2011
    Posts
    214

    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

  2. #2
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    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).

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jul 2011
    Posts
    214

    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?

Posting Permissions

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



Click Here to Expand Forum to Full Width