PC Review


Reply
Thread Tools Rate Thread

User Activity

 
 
MDB
Guest
Posts: n/a
 
      8th Nov 2007
Hello all, what is the best way to keep track of user activity? Is there
anything built into CF2.0 that I can use?

TIA

 
Reply With Quote
 
 
 
 
Paul G. Tobey [eMVP]
Guest
Posts: n/a
 
      8th Nov 2007
For what purpose? The OS itself handles detecting that the user has been
idle for some period of time and you have no access to that information,
other than to reset the counter with SystemIdleTimerReset().

Paul T.

"MDB" <MDB @ NO SPAM DOT COM> wrote in message
news:O$(E-Mail Removed)...
> Hello all, what is the best way to keep track of user activity? Is there
> anything built into CF2.0 that I can use?
>
> TIA



 
Reply With Quote
 
MDB
Guest
Posts: n/a
 
      8th Nov 2007
I have a messaging class the is in a seperate thread that is in a loop that
checks for messages every minute. I want to pause this after 5 minutes of
inactivity and then load a form informing the user that the device is
"sleeping".


"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:(E-Mail Removed)...
> For what purpose? The OS itself handles detecting that the user has been
> idle for some period of time and you have no access to that information,
> other than to reset the counter with SystemIdleTimerReset().
>
> Paul T.
>
> "MDB" <MDB @ NO SPAM DOT COM> wrote in message
> news:O$(E-Mail Removed)...
>> Hello all, what is the best way to keep track of user activity? Is there
>> anything built into CF2.0 that I can use?
>>
>> TIA

>
>


 
Reply With Quote
 
Paul G. Tobey [eMVP]
Guest
Posts: n/a
 
      8th Nov 2007
Wouldn't the user be just as well-informed when the screen went off that the
device was sleeping? Sorry, I know that I don't have a copy of your
requirements specification or anything, but it seems to me that you ought to
just let the Power Manager do its job. You can take a look at the thread
"Device won't idle time out when my app is running" in the archives (use
GoogleGroups to search for it in
microsoft.public.dotnet.framework.compactframework, of course), for some
information that might work on your device to see when user activity occurs.
Be sure that you really want to use this stuff, though. Showing a window
that says that the device is asleep isn't a good use of the capability,
according to me. ;-)

Paul T.

"MDB" <MDB @ NO SPAM DOT COM> wrote in message
news:OkYPd$(E-Mail Removed)...
>I have a messaging class the is in a seperate thread that is in a loop that
>checks for messages every minute. I want to pause this after 5 minutes of
>inactivity and then load a form informing the user that the device is
>"sleeping".
>
>
> "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
> com> wrote in message news:(E-Mail Removed)...
>> For what purpose? The OS itself handles detecting that the user has been
>> idle for some period of time and you have no access to that information,
>> other than to reset the counter with SystemIdleTimerReset().
>>
>> Paul T.
>>
>> "MDB" <MDB @ NO SPAM DOT COM> wrote in message
>> news:O$(E-Mail Removed)...
>>> Hello all, what is the best way to keep track of user activity? Is
>>> there anything built into CF2.0 that I can use?
>>>
>>> TIA

>>
>>

>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Logging user activity scott Microsoft Dot NET Framework Forms 1 28th Apr 2007 12:07 AM
logoff a user after no activity from that one user for 15 minutes? enahar Microsoft Dot NET 0 4th Mar 2005 06:20 AM
log user activity =?Utf-8?B?UmF1bCBTb3VzYQ==?= Microsoft Windows 2000 1 21st Feb 2005 12:44 PM
user activity Mike Richter Microsoft Windows 2000 Active Directory 3 24th Jun 2004 07:20 PM
user activity Mike Richter Microsoft Windows 2000 Active Directory 1 25th May 2004 10:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:20 PM.