Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Make a Countdown from a Label- VB6 Lesson

Loading...

Sign in or sign up now!
8,943
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 25, 2008

make a timer out of a label caption on visual basic 6.0 it is easy hope you enjoy and please suscribe here is the code
VVVVVVVVVVVV
Label1.Caption = Label1.Caption - 1
^^^^^^^^^^^^^
Or if you want to count down from zero
VVVVVVVVVVVVVVVVVVV
If Label1.caption = 0 Then
Msgbox "Done"
Timer1.Enabled = False
End If
End Sub

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 2 dislikes

Link to this comment:

Share to:
see all

All Comments (19)

Sign In or Sign Up now to post a comment!
  • How about clock like count down.. minutes and seconds with colon for separator,.. what is the code for it this format:

    [MM:SS]

    [60:00]

    tnx in advance

  • @ecos715 This is for new vb, i dont know how it is in VB6

  • @TastyTeo thanks!!

  • @ecos715 Double Click the Stop Button and put the following:

    Timer1.Enabled = False

    Label1.Text = 0

  • - SO THANK YOU !

  • everything its okay but, i need to know how to stop the countdown in 0

  • awesome i want moving labels how do dat :(

  • Thanks!

  • i would say useless! if i want countdown, Days Hours Mins Secs?? that would be usefull

  • Thanks! This is by far the easiest countdown example that I have read or watched!

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more