You have two possibilities:
- calculate the max value giving 100
Value / ValueMax * 100
- add the max property with the Reflection library
IndexMax = 250
Dim rflBar As Reflector
rflBar.Target = ProgressBar1
rflBar.RunMethod2("setMax", IndexMax, "java.lang.int")
Best regards.