Option Compare Database
Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) '声明系统延时用的API函数SLEEP
'====================================================================
' 名称: delytime
' 作用: 延迟系统的秒数
'
' 输入值: 秒 As Integer
'
' 返回类型:
'
' 作者: LIHAIZHU
' 日期: 2007-7-7
' 注释:调用方法如:X=delytime(10)
'
'====================================================================
Public Function delytime(秒 As Integer) As Integer
Call Sleep(秒 * 1000)
delytime = 秒
End Function
|站长邮箱|小黑屋|手机版|Office中国/Access中国 ( 粤ICP备10043721号-1 )
GMT+8, 2025-1-10 23:54 , Processed in 0.061105 second(s), 13 queries .
Powered by Discuz! X3.3
© 2001-2017 Comsenz Inc.