Hi -- not sure if this is the best place to post this but I need some VB.NET help to figure out how to round-robin or loop over a time block, delay for 2-3 seconds then repeat the round robin again. This loop will iterate over rows in a DataTable and I
need to basically peform a "do something" on a set of 2-3 rows at a time.
If that isn't as clear as mud then let me say that my basic need is to "throttle" back the processing of something. Or offer a suggestion on how I can round robin over a set of 3 rows but do it in a controlled way that I define.
Here is what I have working now --- it simply sets num variable to a unique value when it is odd or even. Which works and I can adjust the sleep time, but I want to add an additional ElseIf into the process but it doesn't work the way it is setup below.
'setup numbers to round-robin
Dim nexLine As Integer = 0
Dim num As String
Dim stopW ...
Go to the complete details ...