Download MMS Toolkit    |     Visit the MMS Toolkit website

Index - Log in! - Sign up! - Visit website
received automatic in vb6??
 
ActiveXperts Software Forum Index -> SMS and MMS Toolkit -> Development platforms
 
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ajat_cakep



Joined: 03 Feb 2008
Posts: 1

PostPosted: Sun Feb 03, 2008 10:57 am    Post subject: received automatic in vb6??

i want , when my gsm phone recived sms the aplictn to indicatedthis sms as automtcly,


can activexpert to do that??? how???


In VB6


Thx u
Back to top
Leon



Joined: 11 Jul 2007
Posts: 405

PostPosted: Wed Feb 13, 2008 8:16 pm    Post subject:

Hi,

No this is not possible. This is because we use the memory in the device to buffer the incoming SMS messages. SMS messages can be read from this memory or the SIM card by checking for new messages once every x seconds, using a timer or separate thread:

Function OnTimer ()

objGsm.Receive

if ( objGsm.LastError = 0 ) Then

objGsm.GetFirstMessage

while objGsm.LastError = 0
// Display the message
objGsm.GetNextMessage
Wend

End Function

Leon
Back to top
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum