wtf are you trying to do with progressbar.minimum and with your current code, you don't need elseif. obviously you need to enter something like:
Code:
ElseIf ProgressBar1.Value = 0 Then
'MessageBox("/YUNO HIT BUTTON1 BEFORE U CLICK BUTTON2?")
End If
Originally Posted by Redder
all in the title ^^^^^^^
The elseif code used in proper syntax:
ElseIf ProgressBar1.Value = 90 Then
If not, then just use the simple Else code.
Elseif requires a boolean to evaluate. Also, the "minimum" property of a progressbar isn't a boolean property. While VB will allow you to use it (as Boolean is derived from Integer in VB), it's bad practice.
If Something Then
'do this
Elseif SomethingDifferent
'do this instead
End If
is how the syntax should look like.