School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,579 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,225 people online right now. Registration is fast and FREE... Join Now!




CMS ERROR: 500 while sending SMSs in a loop

 

CMS ERROR: 500 while sending SMSs in a loop

reliable

18 Mar, 2009 - 10:57 PM
Post #1

New D.I.C Head
*

Joined: 17 Mar, 2009
Posts: 2

I ve also mentioned delay at the time of sending sms so that it can wait for a few sec. and then send a new sms. I ve reduce the delay secs.. bcoz i wanted to speed up my message sending such as 7 or 8 smss in 1 minute.


Private Sub Wait_For_Response(Optional Fnl As Boolean, Optional VEW As Boolean)
Dim Start


Start = Timer
Do While Timer < Start + DelayPd + IIf(Fnl, 0.5, 0)
DoEvents
' Debug.Print strbuffer & " from Wait for response"
If Not Fnl Then
If InStr(1, strbuffer, "OK") > 0 Or InStr(1, strbuffer, "ERROR") > 0 Or IIf(VEW, InStr(1, strbuffer, ">"), False) Then
Exit Sub
End If
End If
Loop
End Sub



The fnl variable is used at the end of sending sms such as this :

.
.
.
.
.
.

Call Send(strSMS & Chr(26))

Dim buf As String

If Val(cmdPause.Tag) = 1 Then Call xDeconstruct_: NotSent = True: Exit Sub

If Verify(10) Then Call xDeconstruct_: NotSent = True: Exit Sub



Call Wait_For_Response(True)

Call xDeconstruct_

This is a part of my sms coding. please refer this and give me the solution coz i m fed up with this.

Pls Help

Thanks
Reliable

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/8/09 08:21AM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month