Re: Timer properties

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"BadBishop" <badb-valid@xxxxxxxxxxxxx>'s wild thoughts were
released on Tue, 5 Aug 2008 08:52:15 +0500 bearing the
following fruit:

What's the difference between the two statements

Timer1.Enabled = False

Timer1.Interval = 0

Wont the both disable the timer?

The first one is self documenting and clearly states you
intent. The second one may do the same thing but could cause
confusion.
--
Jan Hyde (VB MVP)

https://mvp.support.microsoft.com/profile/Jan.Hyde
.



Relevant Pages

  • Re: [PATCH 9/9] ipmi: add timer thread
    ... expiring the timer at the next timer interrupt (the ... Not sure if that's the intent and perhaps just a ... Linux on Dell mailing lists @ http://lists.us.dell.com ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Auto Log Out Question
    ... U wont see degradation of speed with this method ... "James Proctor" wrote in message ... >> Are we talking a Backend WebService or Windows Security ?. ... >> capture the keypresses and clicks to reset your timer, ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Randy downloaded KESYS
    ... and I'm not fully through with my NT-reader yet. ... But where is this 100nS timer? ... I wont believe that NT let the PIT fire IRQs at ~10MHz rate. ...
    (alt.lang.asm)
  • Re: Odom
    ... in your career that probably won't change. ... this year wont be the year he is going to stop shooting them... ... the intent to run him at the three??? ...
    (alt.sports.basketball.nba.la-lakers)
  • Re: Looks like Greg Chappell has a lot of support among fans
    ... the petition is poorly worded even though I support the intent ... it wont be taken seriously ... Prev by Date: ...
    (rec.sport.cricket)