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. Design and Architecture
  4. VB 6.0 TIMER PROBLEM

VB 6.0 TIMER PROBLEM

Scheduled Pinned Locked Moved Design and Architecture
csharpwpfcollaborationhelp
5 Posts 3 Posters 0 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.
  • S Offline
    S Offline
    sukhen dass
    wrote on last edited by
    #1

    Dear Team, I have a Visual Basic 6.0 Application with 10 timers in one form.Time Intrval Set For timers are different. Timer1-1000,Timer2-10000,Timer3-10000,Timer4-10000,Timer5-10000,Timer6-10000,Timer7-10000,Timer8-10000,Timer9-10000,Timer10-10000. The problem is sometime all timers does not fires on its interval...but most of the time works correctly.Because of this skip reason I am looking to work in wpf as I have read it has dispatcher. I want good suggestion from all what is the best solution of it...Suggestion is always appreciated. Thanks Sukhen Dass

    N L 4 Replies Last reply
    0
    • S sukhen dass

      Dear Team, I have a Visual Basic 6.0 Application with 10 timers in one form.Time Intrval Set For timers are different. Timer1-1000,Timer2-10000,Timer3-10000,Timer4-10000,Timer5-10000,Timer6-10000,Timer7-10000,Timer8-10000,Timer9-10000,Timer10-10000. The problem is sometime all timers does not fires on its interval...but most of the time works correctly.Because of this skip reason I am looking to work in wpf as I have read it has dispatcher. I want good suggestion from all what is the best solution of it...Suggestion is always appreciated. Thanks Sukhen Dass

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      I suggest you use another forum. This has nothing to do with design or architecture.


      Failure is not an option; it's the default selection.

      1 Reply Last reply
      0
      • S sukhen dass

        Dear Team, I have a Visual Basic 6.0 Application with 10 timers in one form.Time Intrval Set For timers are different. Timer1-1000,Timer2-10000,Timer3-10000,Timer4-10000,Timer5-10000,Timer6-10000,Timer7-10000,Timer8-10000,Timer9-10000,Timer10-10000. The problem is sometime all timers does not fires on its interval...but most of the time works correctly.Because of this skip reason I am looking to work in wpf as I have read it has dispatcher. I want good suggestion from all what is the best solution of it...Suggestion is always appreciated. Thanks Sukhen Dass

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        sukhen dass wrote:

        I have a Visual Basic 6.0 Application with 10 timers in one form.

        Why?

        sukhen dass wrote:

        sometime all timers does not fires on its interval

        How do you test for this situation?

        sukhen dass wrote:

        Because of this skip reason I am looking to work in wpf

        It's unlikely that will make any difference unless you are certain that you have diagnosed and resolved the original problem.

        Unrequited desire is character building. OriginalGriff I'm sitting here giving you a standing ovation - Len Goodman

        1 Reply Last reply
        0
        • S sukhen dass

          Dear Team, I have a Visual Basic 6.0 Application with 10 timers in one form.Time Intrval Set For timers are different. Timer1-1000,Timer2-10000,Timer3-10000,Timer4-10000,Timer5-10000,Timer6-10000,Timer7-10000,Timer8-10000,Timer9-10000,Timer10-10000. The problem is sometime all timers does not fires on its interval...but most of the time works correctly.Because of this skip reason I am looking to work in wpf as I have read it has dispatcher. I want good suggestion from all what is the best solution of it...Suggestion is always appreciated. Thanks Sukhen Dass

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          As long as you do not endeavor to find what the actual problem is, switching over to a different technology will not help you.

          1 Reply Last reply
          0
          • S sukhen dass

            Dear Team, I have a Visual Basic 6.0 Application with 10 timers in one form.Time Intrval Set For timers are different. Timer1-1000,Timer2-10000,Timer3-10000,Timer4-10000,Timer5-10000,Timer6-10000,Timer7-10000,Timer8-10000,Timer9-10000,Timer10-10000. The problem is sometime all timers does not fires on its interval...but most of the time works correctly.Because of this skip reason I am looking to work in wpf as I have read it has dispatcher. I want good suggestion from all what is the best solution of it...Suggestion is always appreciated. Thanks Sukhen Dass

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            Put some code on the first line of the event to log the time that it's fired. You'll find that it fires around the time it's supposed to, unless the app is in a loop without yielding processortime for the messagepump. Have a read of this[^] CP article :)

            Bastard Programmer from Hell :suss:

            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