Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows Forms
  4. How can I create a stable scheduler application to get data from some bio-metric machine for attendance purpose?

How can I create a stable scheduler application to get data from some bio-metric machine for attendance purpose?

Scheduled Pinned Locked Moved Windows Forms
csharpquestiondesignhelp
7 Posts 2 Posters 23 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vpinraj
    wrote on last edited by
    #1

    Hi, I have created an application to get the data from bio-metric machine using C# [using Timer]. But it's not stable during its continues working. Please any one help me to design a stable scheduler program in C#.net. Thanks

    P 1 Reply Last reply
    0
    • V vpinraj

      Hi, I have created an application to get the data from bio-metric machine using C# [using Timer]. But it's not stable during its continues working. Please any one help me to design a stable scheduler program in C#.net. Thanks

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      You need to analyse why it's not stable. Is it a problem with the hardware? Are you having threading issues? Having an effective logging and exception handling strategy will be a big step forward for you, as it should help you focus on the causes of issues.

      V 1 Reply Last reply
      0
      • P Pete OHanlon

        You need to analyse why it's not stable. Is it a problem with the hardware? Are you having threading issues? Having an effective logging and exception handling strategy will be a big step forward for you, as it should help you focus on the causes of issues.

        V Offline
        V Offline
        vpinraj
        wrote on last edited by
        #3

        No, It doesn't throw any exception, but show a message that "Application has stopped working", after two more days.

        P 1 Reply Last reply
        0
        • V vpinraj

          No, It doesn't throw any exception, but show a message that "Application has stopped working", after two more days.

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          Then you most likely have something like a memory leak going on in there. By the way, why have you asked this in the WinForms section? Surely your application is a service.

          V 1 Reply Last reply
          0
          • P Pete OHanlon

            Then you most likely have something like a memory leak going on in there. By the way, why have you asked this in the WinForms section? Surely your application is a service.

            V Offline
            V Offline
            vpinraj
            wrote on last edited by
            #5

            I am sorry, Its Because, I have created a Windows Form application to do this process and to visualize my schedules and list of my machines. I have closed all my objects after its use, then how the memory leak happen?

            P 1 Reply Last reply
            0
            • V vpinraj

              I am sorry, Its Because, I have created a Windows Form application to do this process and to visualize my schedules and list of my machines. I have closed all my objects after its use, then how the memory leak happen?

              P Offline
              P Offline
              Pete OHanlon
              wrote on last edited by
              #6

              You need to do some memory profiling. Download one of the excellent profilers available and set it away.

              V 1 Reply Last reply
              0
              • P Pete OHanlon

                You need to do some memory profiling. Download one of the excellent profilers available and set it away.

                V Offline
                V Offline
                vpinraj
                wrote on last edited by
                #7

                Thank you sir, Is there any efficient method to create such scheduler, am using timer class.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups