this is the loop im using, do i need to use a timer inside the loop or add something to the function it calls?
any help you can give ill most appreciative,
Kind Regards
Devon.
Expand|Select|Wrap|Line Numbers
- Do While Not getsd.EOF
- If sitesopened <= maxsites Then
- replacementtext = Replace(Text1.Text, " ", getsd!keywordsplitmarker)
- endcommand = getsd!endcommandstring
- ShellExecute hwnd, "open", getsd!WebSiteSearchAddress & replacementtext & endcommand, vbNullString, vbNullString, SW_SHOW
- getsd.MoveNext
- sitesopened = sitesopened + 1
- lastsearch = Text1.Text
- Else
- If maxsitereached = 1 Then
- getsd.MoveNext
- Else
- MsgBox "Your Current Settings do not allow for you to go above " & maxsites & " sites," & vbCrLf & "You can change this in the settings menu.", vbInformation, "Information!"
- maxsitereached = 1
- getsd.MoveNext
- End If
- End If
- Loop