Total time of Active Window

Posted by Srajeswari under ASP.NET on 12/1/2009 | Views : 1195 | Status : [Member] | Replies : 2
I got a code to calculate the total time of active window. but the time is calculated even the word or excel is opened and left idle.
Can we get the time how long the worked in it example ( keypad or cursor use ) in MS office




Responses

Posted by: Vuyiswamb on: 12/1/2009 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
First Get the Current active Window like this

http://www.java2s.com/Tutorial/CSharp/0520__Windows/GetcurrentActiveWindow.htm

and in your Application add a timer to do the Counting. look at this Link their are Related to what you want

http://msdn.microsoft.com/en-us/library/system.diagnostics.process.aspx


Thank you for posting at DotnetFunda

Vuyiswa Maseko

Thank you for posting at Dotnetfunda
[Administrator]

Srajeswari, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Abhijit Jana on: 12/1/2009 [Member] [MVP] Bronze

Up
0
Down
You have asked this question in ASP.NET Section. I am very much keen to know that what you are trying to achieve it using ASP.NET ? or this is not related with ASP.NET Application ?

Cheers !
Abhijit

Srajeswari, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response