Hi,
I am totally new in threadings.
Normally, without threading, when I do calculations I want to see the intermediate results during the calculations.
Therefor I use the method :
For keer = 1 To 40000000
If keer Mod 2000 = 0 Then
Application.DoEvents() Form1.Label2.Text = minsom.ToString & " " & keer.ToString
End If
...
...
next
But when I set the subroutine in a thread I see no change in the label.
My question, why and what can I do?
Thanks for any response
I am totally new in threadings.
Normally, without threading, when I do calculations I want to see the intermediate results during the calculations.
Therefor I use the method :
For keer = 1 To 40000000
If keer Mod 2000 = 0 Then
Application.DoEvents() Form1.Label2.Text = minsom.ToString & " " & keer.ToString
End If
...
...
next
But when I set the subroutine in a thread I see no change in the label.
My question, why and what can I do?
Thanks for any response