Q: I read somewhere (and can't find it now???  :-(     ) that there is a
windows API function that literally makes your program SLEEP for a
period of time. If you happen to know of this API call I'd sure
appreciate it. 
Harry Souders hsouders@calweb.com

A: extract from 'Visual Basic Programmer's Guide to the Win32API' by Daniel Appleman
Sleep, SleepEx VB Declaration Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Declare Function SleepEx& Lib "kernel32" (ByVal dwMilliseconds As Long, ByVal _ bAlertable As Long) Description: Suspends operation of a thread for the specified time. Parameter Type/Description dwMilliseconds Long: The time to suspend the thread in milliseconds. The constant INFINITE to put a thread permanently to sleep. bAlertable Long: SleepEx only. Set to True if an asynchronous I/O transfer has been initiated with a ReadFileEx or WriteFileEx function call, and you want the function to return so that the I/O completion routine specified by those functions may execute. Return Value Long: SleepEx only. Zero if the timeout elapses, WAIT_IO_COMPLETION if the function returned because of the completion of an asynchronous I/O operation. All of the material presented here is copyrighted by either Desaware or Macmillan. No part of this material may be used or reproduced in any fashion (except in brief quotations used in critical articles and reviews) without prior consent. Return