home *** CD-ROM | disk | FTP | other *** search
- Path: 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
-
- 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...
-