A good solution greatly depends on your existing code.
1. The easiest thing is to delay your loop by using the Sleep API to wait for a couple of milliseconds/seconds. But this has several disadvantages.
2. You could use a timer control to create a wait-loop
Code:
'this is your loop
...
txtDisplay.Text = NextValue
Timer1.Enabled = True
While Timer1.Enabled: DoEvents: Wend
...
' this is the code in the timer event:
Private Sub Timer1_Timer()
Timer1.enabled = False
End Sub
Depending on your coding, where these values you compute are stored and how long they are stored and in what scope they are stored, you could use the timer control in a different way, to display all values one by the other, while the program is continuing already.
Bookmarks