Easy peasy...
I have a LOOP within a LOOP, but the Form doesn't show until the end of the main LOOP:
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim mo As Integer
Do While mo < 5
mo = mo + 1
Dim Start As Double = Microsoft.VisualBasic.DateAndTime.Timer
Dim Finish As Double = Start + 1.0 ' Set end time for 1-second duration.
Do While Microsoft.VisualBasic.DateAndTime.Timer < Finish
Loop
lbl1.Text = mo
Loop
End Sub
Thank you very much for your help.
I have a LOOP within a LOOP, but the Form doesn't show until the end of the main LOOP:
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim mo As Integer
Do While mo < 5
mo = mo + 1
Dim Start As Double = Microsoft.VisualBasic.DateAndTime.Timer
Dim Finish As Double = Start + 1.0 ' Set end time for 1-second duration.
Do While Microsoft.VisualBasic.DateAndTime.Timer < Finish
Loop
lbl1.Text = mo
Loop
End Sub
Thank you very much for your help.