Back to Browse

VB6 Label Progress Bar.wmv

2.5K views
Oct 9, 2010
6:28

Visual Basic 6 Tutorial: On making a progress bar out of label I didn't like the color of the progress bar in window common control 6 so i thought of this version of a progress bar. note: This can also work on textboxes, images, the form itself, etc... Start Up Properties: Timer1 Interval = 1 label1 width = 100 label1 caption = empty label2 caption = empty Code: Private Sub Timer1_Timer() Label1.Width = Label1.Width + 100 Label2.Caption = (Label1.Width * 100) / 5100 & "%" If Label1.Width = 5100 Then Timer1.Enabled = False End If End Sub

Download

1 formats

Video Formats

360pmp47.9 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

VB6 Label Progress Bar.wmv | NatokHD