how to create ticker in visual basic

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chandru8
    New Member
    • Sep 2007
    • 145

    how to create ticker in visual basic

    Hi all

    is it possible to create a ticker in visual basic 6.0

    thanks
  • QVeen72
    Recognized Expert Top Contributor
    • Oct 2006
    • 1445

    #2
    Hi,

    Yes, you can..
    Add, a Timer Control and a TextBox on the Form.
    Make Timer's Property Interval =1000
    Write this code in Timer1_Timer event:

    [code=vb]

    Private Sub Timer1_Timer()
    Text1.Text = Format(Now, "hh:mm:ss")
    End Sub
    [/code]

    Regards
    Veena

    Comment

    Working...