ADO DOT NET
Centurion
- Joined
- Dec 20, 2006
- Messages
- 160
Hi,
I am trying to set the ProgressBar.Value to ProgressBar.Maximum >>> Me.ProgressBar.Value = Me.ProgressBar.Maximum
I use this in a thread safe:
But I get error, and am not able to troobleshot myself, any help?
I am trying to set the ProgressBar.Value to ProgressBar.Maximum >>> Me.ProgressBar.Value = Me.ProgressBar.Maximum
I use this in a thread safe:
Visual Basic:
Private Delegate Sub SetFullPrgressCallback()
Private Sub SetFullPrgress()
If Me.ProgressBar.InvokeRequired Then
Dim d As New SetFullPrgressCallback(AddressOf SetFullPrgress)
Me.Invoke(d, New Object() {Me.ProgressBar.Maximum})
Else
Me.ProgressBar.Value = Me.ProgressBar.Maximum
End If
End Sub