Stopwatch Tutorial - Visual Basic .NET

Tags: VB.NET, VB 2008, VB 2010, VB 2012, VB 2013

This tutorial will show you how to make a stopwatch in visual basic:

 

Add a label to the form and change it's text to 00:00:00:000

To do that right click on the label and click on properties. In the properties window, change the text as follows:

Change the font's size of the label. In the properties window, go to Font:

The font dialog will show up. Under the size, choose the number 28 then click Ok:

Add a timer to the form:

In the toolbox, drag the timer to the form. The timer will appear in the gray area below the form:

Visual Basic 2008 Stopwatch

Right click on Timer1 and click on properties. In the properties window, change the interval property to 1.

Drag a listbox from the toolbox and place on the form as the picture below:

Visual Basic 2008 Stopwatch

Add a button to the form and change it's text to Mark:

Visual Basic 2008 - Stopwatch

Page: 1 2


Share This

Subscribe

More Tutorials

Popular

Home | About | Contact | Privacy Policy

Copyright visual-basic-tutorials.com 2017 - All Rights Reserved.