Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1116119
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T03:15:20+00:00 2026-05-17T03:15:20+00:00

I couldn’t find any explanation for the following problem. Hope you to help me

  • 0

I couldn’t find any explanation for the following problem. Hope you to help me to know the solution…

Let’s make a new windows appliaction (using any version of VS), and add a button, timer (we modify the interval to become = 10), and a label (with initial text = “0“).

write the following code in the timer:

label1.Text =
(Convert.ToInt32(label1.Text) +
1).ToString();

write the following code in the button:

timer1.Enabled = true;

The label should show an incremental counter starting from 0.

Logically, each 100 counts should consume 1 second, but this is NOT the truth.
What happens is that each 100 counts consume a little bit more than 1 second !!!

What is the cause of this behavior????!!!

Thank you very much for your listenning, and waiting for your reply because I really searched for an explenation but I couldn’t find anything.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T03:15:21+00:00Added an answer on May 17, 2026 at 3:15 am

    If you are using System.Windows.Forms.Timer, it is limited to an accuracy of 55 ms.

    The Windows Forms Timer component is single-threaded, and is limited to an accuracy of 55 milliseconds. If you require a multithreaded timer with greater accuracy, use the Timer class in the System.Timers namespace.

    See the Remarks section: System.Windows.Forms.Timer

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

couldn't find my solution. hope you can help. I want to have a url
Couldn't find any answer to this problem, or not even any questions asked. So
I couldn't find any question similar to this one, I wanted to know about
I couldn't find anything on this, but probably its just because I don't know
I couldn't find any information in the reference page of MPMoviePlayerController or in the
I couldn't find a straight answer to my question and need to know it
Couldn't find a better place to ask this so I hope you guys can
I couldn't find any mapview template for the graphical layout. Mapview is from google,
Couldn't find anything on this with a Google Search. Does anyone know how to
I couldn't find in the jQuery document if any of its AJAX methods SAFELY

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.