VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

CStopWatch

Matthew Janofsky  (2 Submissions)   Debugging and Error Handling   Visual Basic 3.0   Beginner   Wed 3rd February 2021

Want to know how long it takes to execute some piece of logic in your code? Use this StopWatch class to find out. It does everything you'd expect a stopwatch to do: - Start - Stop - Reset - Get elapsed time - Get lap time. This class is so simple to use because you already know how a stopwatch works.

Assumes
Create a new class module and paste the text into it. Name the class CStopWatch.

Rate CStopWatch (4(4 Vote))
CStopWatch.bas

CStopWatch Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters