| View previous topic :: View next topic |
| Author |
Message |
ajat_cakep
Joined: 03 Feb 2008 Posts: 1
|
Posted: 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
|
Posted: 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 |
|
 |
|