Thumbs downElseIf error code :(

Posts 1–4 of 4 · Page 1 of 1
ElseIf error code :(
all in the title ^^^^^^^

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
Quote Originally Posted by Redder View Post
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.
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?