文件名称:Idle
介绍说明--下载内容均来自于网络,请自行研究使用
Idle类,用于判断系统是否处于闲置状态,从而可以运行一些后台程序,使用如下:
定义模块变量
dim mIdle as Idle
程序中,如Form_Load中初如化使用:
Set mIdle = New Idle
mIdle.IdleSeconds = 10
mIdle.Enable = True
程序中,其它地方使用:
if mIdle.IsIdle then
系统闲置中,执行其它处理。
end if
-Idle Class, used to determine the system is in the idle state, which can run daemon, use the following: ' custom module variable dim the mIdle as the Idle program, such as Form_Load early, such as use: Set the Idle mIdle.IdleSeconds mIdle = New = 10 mIdle.Enable = True program elsewhere: if mIdle.IsIdle then ' perform other processing system is idle. end if
定义模块变量
dim mIdle as Idle
程序中,如Form_Load中初如化使用:
Set mIdle = New Idle
mIdle.IdleSeconds = 10
mIdle.Enable = True
程序中,其它地方使用:
if mIdle.IsIdle then
系统闲置中,执行其它处理。
end if
-Idle Class, used to determine the system is in the idle state, which can run daemon, use the following: ' custom module variable dim the mIdle as the Idle program, such as Form_Load early, such as use: Set the Idle mIdle.IdleSeconds mIdle = New = 10 mIdle.Enable = True program elsewhere: if mIdle.IsIdle then ' perform other processing system is idle. end if
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Idle.cls