I am develping an application that requires the detection of inactivity within the application. Since the application contains sensitive information, I would like a login form to be displayed after a predetermined period of user inactivity. How would I go about doing determining if the application has been inactive? I can't seem to find any material on the subject.

RE: Application Inactivity by Tony

Tony
Thu Jun 17 14:18:02 CDT 2004

I forgot to mention. I am developing this application in VS.NET.

Thanks

Re: Application Inactivity by Chris

Chris
Thu Jun 17 20:41:38 CDT 2004

Here's a solution:

http://blog.opennetcf.org/ctacke/PermaLink,guid,2f8b3e5b-e970-4c27-9da1-fe9387a11615.aspx

-Chris

"Tony Wang" <Tony Wang@discussions.microsoft.com> wrote in message
news:D391FC39-3E18-45BD-B49F-3CBAA6E4C32A@microsoft.com...
> I forgot to mention. I am developing this application in VS.NET.
>
> Thanks



Re: Application Inactivity by Ginny

Ginny
Fri Jun 18 12:29:07 CDT 2004

Tony,

If you don't want to use the entire OpenNetCF library, why not just extract
the source code you need from OpenNetCF and then the code is all "yours".

--
Ginny Caughey
.Net Compact Framework MVP

Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
Let Microsoft know!
https://www.windowsembeddedeval.com/community/newsgroups



"Tony Wang" <Tony Wang@discussions.microsoft.com> wrote in message
news:4239B7EB-7412-4BFD-B8F5-A0C4931158BA@microsoft.com...
> I've seen this solution already. However, I would like to stay away from
OPENNETCF if at all possible. Is there a solution or documentation that
does not use any third party libraries?



Re: Application Inactivity by Chris

Chris
Sat Jun 19 15:20:19 CDT 2004

Not sure why you have to avoid something free and open source, but the
alternative is to look at the code presented, change the names of the
variables to something to make you feel like you wrote it and then use it.
I mean you don't have a lot of choice on how it can be done in pure managed
code. We've presented something that works, is free to use, and you could
have up and working in under 5 minutes. You could surely write your own,
but it will end up doing the same thing and take quite a bit longer to
implement. You're not obligated to take the whole thing if size is an
issue. Take the pieces you need and run with it.

-Chris




"Tony Wang" <Tony Wang@discussions.microsoft.com> wrote in message
news:4239B7EB-7412-4BFD-B8F5-A0C4931158BA@microsoft.com...
> I've seen this solution already. However, I would like to stay away from
OPENNETCF if at all possible. Is there a solution or documentation that
does not use any third party libraries?