I'm having trouble with a piece of code in my program:
If intUur = 0 And loadAtHourZero = False Then
LoadScreen.Show()
dteDatumAanpassing = dteDatumAanpassing.AddDays(1)
loadAtHourZero = True
End If
to test something I put
messagebox.show(dteDatumAanpassing) between that piece of code to look if it was changing or not at 0:00. Anyway, I deleted it. But now it is still showing (the messagebox), I deleted that line of code and when I execute my program and the hour is 0:00 I get that messagebox. I tried rebuilding, restarting, but nothing helps.
What is the issue here?
If intUur = 0 And loadAtHourZero = False Then
LoadScreen.Show()
dteDatumAanpassing = dteDatumAanpassing.AddDays(1)
loadAtHourZero = True
End If
to test something I put
messagebox.show(dteDatumAanpassing) between that piece of code to look if it was changing or not at 0:00. Anyway, I deleted it. But now it is still showing (the messagebox), I deleted that line of code and when I execute my program and the hour is 0:00 I get that messagebox. I tried rebuilding, restarting, but nothing helps.
What is the issue here?