Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


Buffer overflow problem


Buffer overflow problem

Author
Message
UHsoccer
UHsoccer
Forum God
Forum God (521 reputation)Forum God (521 reputation)Forum God (521 reputation)Forum God (521 reputation)Forum God (521 reputation)Forum God (521 reputation)Forum God (521 reputation)Forum God (521 reputation)Forum God (521 reputation)

Group: Forum Members
Posts: 1, Visits: 2
Trying to work a buffer overflow problem



1) Is there a statement that I can add to either increase or ignore the buffer overflow issue



tried adding without success

<%@Language="VBScript"%>

<%Response.Buffer = False%>



2) While in the loop



numProb = 0

While Not objProb.EOF



numProb = numProb + 1

' much code



if numProb > 100 then exit-exit-this-loop ???



objProb.MoveNext ' next activity



wend



How can I exit this after a specific number of entries have been processed?



Appreciate help


VBA Classic Works4Me
Mark
Mark
Forum God
Forum God (139K reputation)

Group: Moderators
Posts: 1.1K, Visits: 11K
Try a for loop instead



For i = 1 to 100

' your code

objProb.MoveNext

Next i
Edited
4/10/2016 by Mark
GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search