Results 1 to 2 of 2

Thread: Make progress bar fill over time?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2000
    Posts
    17
    I want to make a (fake) progress bar fill over the period of 15 sec. Its just for looks so I figured I would use a timer, but it doenst let me use a + sign. Please tell me how.

  2. #2
    Fanatic Member
    Join Date
    Oct 1999
    Location
    MA, USA
    Posts
    523

    Lightbulb

    Try this:
    add a progress bar and a timer to your form, set progress bar's Max property to 15, and Timer's Interval to 1000. Then use this code:
    Code:
    Private Sub Timer1_Timer()
        ProgressBar1.Value = ProgressBar1.Value + 1
    End Sub
    HTH

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width