I am working on a game like suduko. After the game is won, I would like to have my message box pop up showing the amount of time that has lasped.
So far with the code I have, the message window pops up first and counts every second non stop in individual windows. What am I doing wrong!?
Code:
Public Class...
Dim TimeTaken as Integer
.
.
.
.
Private Sub...
TimeTaken = TimeTaken + 1
MessageBox.Show ("Time taken is" & TimeTaken & "seconds")
Thanks!
So far with the code I have, the message window pops up first and counts every second non stop in individual windows. What am I doing wrong!?
Code:
Public Class...
Dim TimeTaken as Integer
.
.
.
.
Private Sub...
TimeTaken = TimeTaken + 1
MessageBox.Show ("Time taken is" & TimeTaken & "seconds")
Thanks!