SMSInterceptor

grhsc

New Member
I'm beginner,I tried to run the 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

However, an error occurred:
Error compiling program. error description sms is not a konw control or object.

help me,thanks!
:sign0085:
 

Mr_Gee

Active Member
Licensed User
Longtime User
Did you add "sms" as an object?
Tools > components add the outlook.dll
next go to tools > add object > select type
enter the stuff mentioned here
Sms is a SMSMessage object and Intercept is a SMSInterceptor object.

that should do the trick
 
Top