Overview
Previous  Next

The SMSInterceptor catches SMS messages and raises the MessageReceived event.
The SMS messages will not be deleted and will appear in the phone inbox folder (like a regular SMS message).
You should use a SMSMessage object to read the message data.

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