-
Does anybody know how to do this? What I need is a program that will detect when it is a given time of day, and then change the system time to a different time, and then later change the time back to actual time. Oh, and it has to work on NT4.
I have no idea how to do this. (I've searched to no avail)
Thanks.
-
Code:
If Time = "11:00:00" Then
Time = Text1.Text
End If
Time is the variable that you would use.
Hope that helps,
D!m
-
<?>
the above won't work.
In code you would need a timer to check the time
Timer1 Code...
Code:
If time = "12:01:00 PM" then
'I don't know the code approach but here is how you _
can shell the dialog for manual change.
End If
Shell "rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,,/fa"
-
Here is a link to the SetSystemTime api function which will allow you to change the time and date of the system's clock.
-
Hey, thanks. I think Matthew Gates wins the top thanks, though.