New2
Previous  Next

Initializes a SMSMessage object.
Use New1 if you want to send the message. New2 should be used when receiving a message.
Syntax: New2

Example:
'Sms is a SMSMessage object and Intercept is a SMSInterceptor object.
Sub Globals
End Sub

Sub App_Start
      Form1.Show
      Sms.New2
      Intercept.New1
End Sub

Sub Intercept_MessageReceived
      Sms.Value = Intercept.ReceivedMessage
      textBox1.Text = sms.Body
      textBox2.Text = Time(sms.DateReceived)
      textBox3.Text = sms.From
End Sub