Execute Code based on System Time
What is the easiest way to have a program written in VB.NET to execute at a precise time? I want to have my code execute when the exact time in seconds is reached on the system clock. For example if it was set to execute at 11 seconds it would do so at 12:00:11, 12:01:11, 12:02:11, 12:03:11 ect.. For my purposes the hour and minute are not relevant.
Is there some code that will compare a text entry (the time in seconds at which to execute) with the seconds on the system clock, and wait until the two match to execute?
I am very new to VB.NET and any help is really appreciated!!!
Max