PDA

View Full Version : [Tutorial]VB2008! How To Make Digital Clock On Your Project!



Almog6666
04-10-2009, 08:50 AM
Almog6666 Production
Tutorials


Presents: Digital Clock On Your Project!
Level:Easy


Waht You need:
1)1 Label
2)1 timer
3)Brain!


Getting Started:
Add the Timer And the Label To the Form!
Now set the timer:
Enabeld = True
Interval = 1 **Important*!
Now set the Label!
Make him bigger

Now click on the timer!
and writh this:
Dont writh waht has a ****This..****
Now Doubel Click On THE TIMER!
****This Code If the Label name is Label1!****
and add this CODE:


Label1.Text = TimeOfDay

****This Code If the Label name is Label2!****

Label2.Text = TimeOfDay

****This Code If the Label name is Label3!****

Label3.Text = TimeOfDay


And so on!!!!!
Enjoy and please Thenk Me!

Chimpen
04-10-2009, 11:10 AM
Or more advanced u need

2 labels cal them label1, label2(the original names)
1 timer

then dubbel click on the timer1 and write:

Label1.text = timeofday
Label2.text = datestring

then you most enabled the timer1 to true

if you are new u most read the instrucion so you you really understan:)
IMPORTANT!!!

Almog6666
04-10-2009, 04:38 PM
Or more advanced u need

2 labels cal them label1, label2(the original names)
1 timer

then dubbel click on the timer1 and write:

Label1.text = timeofday
Label2.text = datestring

then you most enabled the timer1 to true

if you are new u most read the instrucion so you you really understan:)
IMPORTANT!!!


Thenk you
I wass looking foor this commend