Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


SMSInterceptor


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-08-2008, 04:36 AM
Newbie
 
Join Date: Aug 2008
Posts: 4
Unhappy SMSInterceptor

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!
Reply With Quote
  #2 (permalink)  
Old 08-08-2008, 08:35 AM
Senior Member
 
Join Date: Feb 2008
Location: Hilversum, The Netherlands
Posts: 192
Awards Showcase
Beta Tester 
Total Awards: 1
Default

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
Quote:
Sms is a SMSMessage object and Intercept is a SMSInterceptor object.
that should do the trick
Reply With Quote
  #3 (permalink)  
Old 08-08-2008, 09:16 AM
Newbie
 
Join Date: Aug 2008
Posts: 4
Default

Quote:
Originally Posted by Mr_Gee View Post
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


that should do the trick

thanks,I'll try....
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 11:18 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0