In .NET 2.0, there's a Stopwatch class, which would be the simplest tool for
solving your task. For an example on how to use it, please refer to MSDN
documentation:
http://msdn2.microsoft.com/en-us/lib...stopwatch.aspx.
Andrej
"av" <(E-Mail Removed)> wrote in message
news:C988F0B1-328A-454B-AD8A-(E-Mail Removed)...
> im having a hard time creating a timer in vb.net..
> the program should run this way: the timer should only start when you
> press
> a button then stops when presing it again..
> my problem is that, how to make an output that will sum up all of the time
> spent..
> could you please provide me a sample code?
> your reply will be greatly appreciated
>
> thanks
>
>