Question Timer set by text file

jkatshor

Member
Joined
Mar 20, 2009
Messages
11
Programming Experience
Beginner
I need to create a timer that sets the time from an existing text file. The time format in the text file is 00:00:00 (hours,minutes, seconds). An excerpt from one of my text files looks like ClockSet = "00:49:05"

Also, if possible, when the timer reaches 2 minutes I would like the backcolor to flash between red and green.

Thanks,
Newbie
 
Here are what you need. I'm not going to do this for you though. Read up on each of these:

File.ReadAllText(path)
String.Split()
New TimeSpan(hours, minutes, seconds)
TimeSpan.Subtract(TimeSpan.FromSeconds(1))
TimeSpan < OtherTimeSpan
BackColour = Color.XXX


Write out your algorithm ON PAPER or in comments in your native language
THEN do the code afterwards
 
Back
Top