Computer Science Canada

Timex (Alarm, Stopwatch, Timer)

Author:  lastfigure [ Fri Dec 03, 2010 6:59 pm ]
Post subject:  Timex (Alarm, Stopwatch, Timer)

Hi, this is my first visual basic program. It has an alarm clock, stopwatch, and a timer. Please tell me of any bugs and how i can improve it and add stuff. Thanks.

Author:  JKJones [ Sun Dec 05, 2010 1:28 am ]
Post subject:  RE:Timex (Alarm, Stopwatch, Timer)

Thats pretty cool how does it know what the time is? mind sharing

Author:  lastfigure [ Mon Dec 06, 2010 7:32 am ]
Post subject:  Re: RE:Timex (Alarm, Stopwatch, Timer)

JKJones @ Sun Dec 05, 2010 1:28 am wrote:
Thats pretty cool how does it know what the time is? mind sharing


this is the code. It puts the computer time on label1

Private Sub Timer1_Timer()
Label1.Caption = Time
End Sub

hope that helped

Author:  JKJones [ Mon Dec 06, 2010 4:00 pm ]
Post subject:  RE:Timex (Alarm, Stopwatch, Timer)

Huh? how does that get the time of the day. How does it know that right now is 3:59 Pm?

Author:  lastfigure [ Mon Dec 06, 2010 7:24 pm ]
Post subject:  Re: RE:Timex (Alarm, Stopwatch, Timer)

JKJones @ Mon Dec 06, 2010 4:00 pm wrote:
Huh? how does that get the time of the day. How does it know that right now is 3:59 Pm?


it gets your computer's time time

Author:  JKJones [ Mon Dec 06, 2010 8:35 pm ]
Post subject:  RE:Timex (Alarm, Stopwatch, Timer)

alright


: