title: Loop to check time in VB.NET
body: <p>So I'm kind of new to VB and am just playing around with a little project, I currently need a loop that is constantly checking the systems clock to see if it's equal to a certain time.</p>
  
  <pre><code>   While Not myTime.Hour = 24
  
          If TimeOfDay = newTime Then
              nfi.ShowBalloonTip(15)
              intRandNumb = RandomNumber(1, 15)
              dblAddMinutes = intTime + intRandNumb
              newTime = TimeOfDay.AddMinutes(dblAddMinutes)
  
          End If
      End While
  </code></pre>
  
  <p>I have this right now, but obviously it's grinding everything to a halt and using 50% of my cpu in the process, I just would like to know what I can substitute in or change to make this loop run better and perform how I need it to.</p>