VB.NET - how long was someone in the program?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gail248
    New Member
    • Feb 2008
    • 6

    VB.NET - how long was someone in the program?

    Is there somethning that will tell me how long a person has been in a program. Maybe some property that gets set when program starts...?
  • Shashi Sadasivan
    Recognized Expert Top Contributor
    • Aug 2007
    • 1435

    #2
    You can have an event on start and end of application which logs into a file or database.

    However uncertain actions like suddend power shuitdowns of the system will fail that event.

    Comment

    • Gail248
      New Member
      • Feb 2008
      • 6

      #3
      thanks

      I know that I could in a sence roll my own, it seems simple enought, I just thought why do that if something allready exists and will probably more solid.


      Originally posted by Shashi Sadasivan
      You can have an event on start and end of application which logs into a file or database.

      However uncertain actions like suddend power shuitdowns of the system will fail that event.

      Comment

      • Shashi Sadasivan
        Recognized Expert Top Contributor
        • Aug 2007
        • 1435

        #4
        in that case you could use the enterprise event\tracing block .
        probably a few lines to be added

        Comment

        Working...