Analog Clock project HelpNeed help creating an Analog Clock for a class
Page 1 of 1
3 Replies - 3552 Views - Last Post: 13 May 2008 - 01:10 AM
#1
Analog Clock project Help
Posted 12 May 2008 - 01:37 PM
I am currently in a Visual Basic Class using VB 2005, and i really need some help creating a Analog Clock. Somewhat like the Windows OS Clock. It needs to have a digital readout as well. If anyone can help me soon, I would GREATLY appreciate it!!
Thank you!!
Replies To: Analog Clock project Help
#2
Re: Analog Clock project Help
Posted 12 May 2008 - 11:52 PM
First of all this is VB6 not VB.NET second of all
[rules][/rules]
[rules][/rules]
#3
Re: Analog Clock project Help
Posted 13 May 2008 - 12:07 AM
Hello.
Joe all you need is a Timer (See in Toolbox) and a Label.
This is for the digital one, I'm not sure how to do analog.
For all my projects I have included only digital ones.
Ask some experts in forum.
Perhaps you have to add a Clock component.
This is the sample of how to display the digital of clock.
Drag that thing to Form.
Double click on it and enter this of line
Private Sub Timer1_Timer()
End
***** Remember to set the value of 1000 in the Timer1 in property "Interval" window on the right.
This is to of set the timer asa 1 second interval to update your label1 like clock.
Besides that, you may wanna change the font type or size.
Anand.
Joe all you need is a Timer (See in Toolbox) and a Label.
This is for the digital one, I'm not sure how to do analog.
For all my projects I have included only digital ones.
Ask some experts in forum.
Perhaps you have to add a Clock component.
This is the sample of how to display the digital of clock.
Drag that thing to Form.
Double click on it and enter this of line
Private Sub Timer1_Timer()
Label1.Caption = Time
End
***** Remember to set the value of 1000 in the Timer1 in property "Interval" window on the right.
This is to of set the timer asa 1 second interval to update your label1 like clock.
Besides that, you may wanna change the font type or size.
Anand.
#4
Re: Analog Clock project Help
Posted 13 May 2008 - 01:10 AM
Here is a link to a VB6 one
http://www.dreaminco.../snippet225.htm
But not sure if it would work in VB.NET
http://www.dreaminco.../snippet225.htm
But not sure if it would work in VB.NET
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote




|