(stop watch) Timers in VB.Net

netnewb2002

Newcomer
Joined
Sep 17, 2002
Messages
13
Location
Wisconsin
I had a question, This is for part of a program due for a class.

I know how to make regular timers, but where can I find sample code for (stop watch) Timers?

So when I push start..the timer will start, and when I push stop the timer will stop.

I looked through both of my text books for sample code on this and couldn't find any.

Unless it is labeled something other than timer/objects/modules.

Text books I use are:

VB.NET by Example, and Coding Techniques for Microsoft Visual Basic.NET.

Any help would be appreciated, or perhaps a sample code of what I should do first, and maybe I can figure the rest out from there.

Thanks,
 
And one of the first samples in "Coding Techniques for Visual Basic .NET" is a clock program! So between the two, you should be able to figure it out.
 
Working with the start/stop at moment. I did do the first example for the coding techniques..all it did is put current date and time inside a label on a form, which I already knew how to do.
 
Look a little farther in that book. The one I'm thinking of was labeled something like "Your First Real Program." I read it awhile ago though, so I may be wrong.
 
Back
Top