如何使用vb6 ....在空闲时间执行任何事件? [英] How to execute any event on idle time using vb6.......?

查看:136
本文介绍了如何使用vb6 ....在空闲时间执行任何事件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用vb6检测空闲时间,并在空闲时间执行事件.
如何使用vb6 ...检测空闲时间?当需要执行任务时,请查看系统是否处于空闲状态.如果没有,睡一分钟然后再试一次.


I want to detect idle time using vb6 and during idle time i want to execute event.
How to detect idle time using vb6...?

解决方案

Why not just start a thread that does whatever it needs to do on a schedule. When it''s time to perform the task, see if the system is idle. If not, sleep for a minute and try again.


这篇关于如何使用vb6 ....在空闲时间执行任何事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆