Free Resources from FMS

Additional Resources

 

Thank you! Thank you! I just finished reading this document, which was part of a link in the recent Buzz newsletter. I have printed it for others to read, especially those skeptical on the powers of Access and its capabilities.

Darren D.

 

Free Catalog

 

Use High Resolution Timers

Provided by: Dan Haught, FMS Executive Vice President

The built-in Visual Basic timer object does not have very high resolution. This can make it difficult to perform accurate timings. The following code, from the our award-winning Total Visual SourceBook 2002 product, shows how to use a high-resolution multi-media timer to track elapsed time. This class is useful for timing user operations, or for bench-marking your applications. Because it uses the Windows multi-media timer it uses much higher resolution than the built-in VB Timer function.

Sample Code

Return to the tips page