Re: Progress Bar not moving ? (General questions)
Public Sub Progress(ByVal Owner As WODPOP3COMLib.wodPop3Com, ByVal Position As Integer, ByVal Total As Integer) Implements WODPOP3COMLib.IwodPopClientNotify.Progress
Try
Dim frac As Integer
frac = Total / 8
Select Case Position
Case Is > frac * 1
PictureBox1.BackgroundImage = ImageList2.Images(1)
Case Is > frac * 2
PictureBox1.BackgroundImage = ImageList2.Images(2)
Case Is > frac * 3
PictureBox1.BackgroundImage = ImageList2.Images(3)
Case Is > frac * 4
PictureBox1.BackgroundImage = ImageList2.Images(4)
Case Is > frac * 5
PictureBox1.BackgroundImage = ImageList2.Images(5)
Case Is > frac * 6
PictureBox1.BackgroundImage = ImageList2.Images(6)
Case Is > frac * 7
PictureBox1.BackgroundImage = ImageList2.Images(7)
Case Is > frac * 8
PictureBox1.BackgroundImage = ImageList2.Images(8)
End Select
Catch ex As Exception
' ignore error
End Try
End Sub
Complete thread:
- Progress Bar not moving ? - Maverick5, 2006-01-10, 09:50
- Re: Progress Bar not moving ? - wodSupport, 2006-01-10, 10:17
- Re: Progress Bar not moving ? - Maverick5, 2006-01-10, 10:47
- Re: Progress Bar not moving ? - wodSupport, 2006-01-10, 11:16
- Re: Progress Bar not moving ? - Maverick5, 2006-01-10, 11:29
- Re: Progress Bar not moving ? - wodSupport, 2006-01-10, 11:16
- Re: Progress Bar not moving ? - Maverick5, 2006-01-10, 10:47
- Re: Progress Bar not moving ? - wodSupport, 2006-01-10, 10:17