DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Yuriy Galanter Guest

    Timer event. When?

    Let's say I created a timer and set its Interval to 1 minute. When I
    enable the timer, will the first Elapsed event fire immediately or after 1
    minute?

    Yuri.



  2. #2
    Bob Guest

    Re: Timer event. When?


    "Yuriy Galanter" <yuri@galanter.net> wrote in message
    news:3b8fc76a@news.devx.com...
    > Let's say I created a timer and set its Interval to 1 minute. When I
    > enable the timer, will the first Elapsed event fire immediately or after 1
    > minute?
    >
    > Yuri.
    >

    The first Elapsed event will fire after 1 minute.

    Bob



  3. #3
    Dick Grier Guest

    Re: Timer event. When?

    Hi,

    After 1 minute (plus some, usually small, undefined time).

    --
    Richard Grier (Microsoft Visual Basic MVP)
    Hard & Software
    12962 West Louisiana Avenue
    Lakewood, CO 80228
    303-986-2179 (voice)
    303-986-3143 (fax)
    Author of Visual Basic Programmer's Guide to Serial Communications, 2nd
    Edition ISBN 1-890422-25-8 (355 pages).
    For information look on my homepage at http://www.hardandsoftware.net.
    Use the Books link to order. For faster service contact the publisher at
    http://www.mabry.com/vbpgser.





Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links