🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #1963

Re: Accurate Timing In Visual Basic

#1963
From: Andy Jacobs
Date: Wed, 16 Dec 1992 13:37
10 lines
923 bytes
How accurate do you need it?  The easiest way is to add a timer that increments
a global variable.  Simply initilize the variable when the form is loaded and
refer to it when you want to know elapsed time, or have the timer event itself
do something when the variable attains a certain value.

A more accurate, but harder-to-implement way would be to make a windows call
to get the time (if there is one).  I would have to look this up for details.
-----
 - Andy Jacobs
                        This Signature file under construction...   
Technical Details
Message-ID: <1992Dec16.083743.8494@dcatla.uucp>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!gatech!dcatla!cuawj
References: <29567@castle.ed.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!gatech!dcatla!cuawj
From: cuawj@dcatla.uucp (Andy Jacobs)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Accurate Timing In Visual Basic
Message-ID: <1992Dec16.083743.8494@dcatla.uucp>
Date: 16 Dec 92 13:37:43 GMT
References: <29567@castle.ed.ac.uk>
Organization: Digital Communications Associates, Alpharetta, GA
Lines: 10