VB6 Appl IDLE已经有一段时间了 [英] VB6 Appl IDLE for sometime

查看:110
本文介绍了VB6 Appl IDLE已经有一段时间了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!


我正在开发一个VB6项目和Access作为后端。


我需要你的一个想法,如果应用程序闲置一段时间然后它应该询问登录密码。

只需了解Windows中的屏幕保护程序。


谢谢!

解决方案

您可以使用定时器控制,空闲标志,MouseMove和KeyPress事件。

设置定时器的时间间隔并验证那里的空闲标志和将标志更新为True。

更新

展开 | 选择 | Wrap | 行号



您可以使用定时器控件,空闲标志,MouseMove和Keypress事件。

设置...



感谢您的回复。


我应该在哪里举办这些活动 - 无论是在主表格中或者?

我可以为它单独使用一个Timer Control吗?

再次感谢你!


让我清楚一件事。

您希望应用程序空闲或系统空闲吗?

如果应用程序空闲,您必须使用主窗体中的计时器控件和所有形式的所有其他事件

Hi Everyone!

I am developing a project in VB6 and Access as backend.

I need an idea from you that if the application is idle for some time then it should ask the LOGIN Password.
Just get an idea of Screensaver in Windows.

Thank You !

解决方案

You can use a timer control, Idle Flag, MouseMove and KeyPress events.
Set the time interval of timer and validate the idle flag there and update flag to True.
Update the

Expand|Select|Wrap|Line Numbers


You can use a timer control, Idle Flag, MouseMove and Keypress events.
Set ...

Thank you for responding.

Where shall I keep those events - whether in Main Form or else?
Shall I take a separate Timer Control for that?

Thank you once again!


Let me clear one thing.
You want application idle or system idle?
If app idle, you have to use the timer control in main form and all other events in all forms.


这篇关于VB6 Appl IDLE已经有一段时间了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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