Connecting Tech Pros Worldwide Forums | Help | Site Map

Is it difficult for a hidden form to check for user activity every 15-seconds or so?

MLH
Guest
 
Posts: n/a
#1: Nov 13 '05
You know, mouse movements - that sort of thing. I would just
like an easy way for a hidden form NOT having the focus to
know if the app is just sitting there running by itself, all alone
with no user stroking it. App could be running, but minimized.
Or, it could be the foreground app, but having no user there
at all, no mouse activity or keyboard activity - someone just
left the office, didn't close it and its running all night long.

I don't what whatever procedure is capable of monitoring
this sort of thing to use a lot of overhead. Ideas anyone?

Arno R
Guest
 
Posts: n/a
#2: Nov 13 '05

re: Is it difficult for a hidden form to check for user activity every 15-seconds or so?



"MLH" <CRCI@NorthState.net> schreef in bericht news:1v2rj1tm1uqhv09os7131l8bfamaoth9om@4ax.com...[color=blue]
> You know, mouse movements - that sort of thing. I would just
> like an easy way for a hidden form NOT having the focus to
> know if the app is just sitting there running by itself, all alone
> with no user stroking it. App could be running, but minimized.
> Or, it could be the foreground app, but having no user there
> at all, no mouse activity or keyboard activity - someone just
> left the office, didn't close it and its running all night long.
>
> I don't what whatever procedure is capable of monitoring
> this sort of thing to use a lot of overhead. Ideas anyone?[/color]

Google is your friend: "Check idle time"

Arno R
Albert D. Kallal
Guest
 
Posts: n/a
#3: Nov 13 '05

re: Is it difficult for a hidden form to check for user activity every 15-seconds or so?


I used the following code for some time:

a97
http://support.microsoft.com/default...b;en-us;128814

a2000
http://support.microsoft.com/default...b;en-us;210297


I got mine set to 2, (or is it 3) hours of in-activity...the user then gets
logged off. This works very well, and I even "log" the event in a table to
see which users are "forgetting" to log off....

I set the form to fire every 10 seconds, and huts there is NO significant
processing issue at all

--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@msn.com
http://www.members.shaw.ca/AlbertKallal


David W. Fenton
Guest
 
Posts: n/a
#4: Nov 13 '05

re: Is it difficult for a hidden form to check for user activity every 15-seconds or so?


MLH <CRCI@NorthState.net> wrote in
news:1v2rj1tm1uqhv09os7131l8bfamaoth9om@4ax.com:
[color=blue]
> You know, mouse movements - that sort of thing. I would just
> like an easy way for a hidden form NOT having the focus to
> know if the app is just sitting there running by itself, all alone
> with no user stroking it. App could be running, but minimized.
> Or, it could be the foreground app, but having no user there
> at all, no mouse activity or keyboard activity - someone just
> left the office, didn't close it and its running all night long.
>
> I don't what whatever procedure is capable of monitoring
> this sort of thing to use a lot of overhead. Ideas anyone?[/color]

A hidden form can't receive events, so you'd really need your timer
event in all your forms.

I hate timer events -- they lead to all sorts of really bad and
hard-to-troubleshoot issues.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
MLH
Guest
 
Posts: n/a
#5: Nov 13 '05

re: Is it difficult for a hidden form to check for user activity every 15-seconds or so?


DAvid, what's the best website around for an Access form module to
call up seeking current date/time? I like this one, but it doesn't
give the year: http://tycho.usno.navy.mil/cgi-bin/timer.pl

[color=blue]
>A hidden form can't receive events, so you'd really need your timer
>event in all your forms.
>
>I hate timer events -- they lead to all sorts of really bad and
>hard-to-troubleshoot issues.[/color]

David W. Fenton
Guest
 
Posts: n/a
#6: Nov 13 '05

re: Is it difficult for a hidden form to check for user activity every 15-seconds or so?


MLH <CRCI@NorthState.net> wrote in
news:tbn0k1puhc2nmig1pk1grne1thmrjcck7c@4ax.com:
[color=blue]
> DAvid, what's the best website around for an Access form module to
> call up seeking current date/time? I like this one, but it doesn't
> give the year: http://tycho.usno.navy.mil/cgi-bin/timer.pl[/color]

I haven't a clue. Not sure what that question has to do with the
subject of the thread, which I thought was timers.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Closed Thread