We have added another lesson to our VB2010 tutorial. In this new lesson(lesson 27), we show you how to use the Timer control to create a , a stopwatch and a digital dice. Click on the link below to check it out yourself.
Author: Liew Voon Kiong
Updated Textbook- Visual Basic 2008 Made Easy
Two more new lessons added to VB2008 Tutorial
We have just added two more new lessons to our VB2008 Tutorial. The lessons teach you more about creating and managing graphics. Click the links below to find out more.
Creating a clock in VB2010
Creating a clock in VB2010 is pretty easy. First of all you need to insert a timer control into your form and set its interval to 1000, which is equivalent to 1 second. Next, insert a label, clear its text and set an appropriate size(you need to disable autosize).
Now click on the timer and key in the following code:
Execute the code and you have your clock up and running.
New lesson for Vb2010 Tutorial
We have added another new lesson to our Visual Basic 2010 Tutorial.We have learned how to draw shapes on the screen. Now we shall learn how to fill those shape with color. Check on the link below: