Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Question] Countdown 2
#5
Put it in timer1_tick, im uploading one i made just there now onto youtube , ill post it here in 2 min , if you want the code let me know.

Code:
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
      If label1.text = "0" Then
            Console.Beep(1000, 1000)
        End If
      End If

Here it is

[yt]http://www.youtube.com/watch?v=hnNsO_NGVoQ[/yt]
Althought i put a .wav file in my project "Resources" and coded it like this:

Code:
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        If Label1.Text = "0" Then
            My.Computer.Audio.Play(My.Resources.heart_monitor, AudioPlayMode.BackgroundLoop)
            Timer1.Stop()
        End If
    End Sub
Reply


Messages In This Thread
[Question] Countdown 2 - by p1g 0wnz - 12-29-2009, 11:23 AM
RE: [Question] Countdown 2 - by Digital-Punk - 12-29-2009, 03:32 PM
RE: [Question] Countdown 2 - by dunlop03 - 12-29-2009, 05:04 PM
RE: [Question] Countdown 2 - by p1g 0wnz - 12-29-2009, 05:45 PM
RE: [Question] Countdown 2 - by dunlop03 - 12-29-2009, 05:49 PM
RE: [Question] Countdown 2 - by p1g 0wnz - 12-29-2009, 06:15 PM
RE: [Question] Countdown 2 - by dunlop03 - 12-29-2009, 06:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Question]CountDown p1g 0wnz 7 1,410 12-29-2009, 09:39 AM
Last Post: Digital-Punk

Forum Jump:


Users browsing this thread: 8 Guest(s)