R
Ryan
I am learning and I have a form, basically a splash screen, that load with
this code. t is a public int = 0 from a module
Me.Show()
Dim i
i = Now.Ticks
Do While (i + 50000000) > Now.Ticks
Application.DoEvents()
t = t + 1
Loop
Me.Dispose()
Next my sub main calls the main form with a label on it that displays t. t
is a different value each time.
Why is t different each time? Maybe I am misunderstand what now.ticks do?
Thanks!
this code. t is a public int = 0 from a module
Me.Show()
Dim i
i = Now.Ticks
Do While (i + 50000000) > Now.Ticks
Application.DoEvents()
t = t + 1
Loop
Me.Dispose()
Next my sub main calls the main form with a label on it that displays t. t
is a different value each time.
Why is t different each time? Maybe I am misunderstand what now.ticks do?
Thanks!