Click here to Skip to main content
11,720,324 members (81,159 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET Windows C#4.0
Hello every one,

I am working in Window form Application in c#. I am making time attendance system. So I have a requirement to add entry of system On and off time in database.
My problem is that i need the code or any idea that how can i save the entry in database when user lock the system.
Please help me if anyone have any idea or any link.
Posted 27-Jun-13 22:40pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

I don't have time to search for examples for you but this interface seems to be what you need for your requirement.

ISensLogon interface[^]
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hi navjot,
I think you make use of windows services.You can create a project of windows service, which runs as a service and take care of login and logout timings.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 2,029
1 OriginalGriff 844
2 F-ES Sitecore 640
3 Maciej Los 609
4 Richard MacCutchan 540


Advertise | Privacy | Mobile
Web03 | 2.8.150901.1 | Last Updated 28 Jun 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100