Link to home
Start Free TrialLog in
Avatar of p400
p400

asked on

progress bar

id like to know how to use the progress bar with this
for i = 1 to 1000
list1.additem i
next i
i've tryed this
for i = 1 to text1.text
list1.additem i
progressbar1.value = text1.text
next i
but get an error if text1 is over 100
ASKER CERTIFIED SOLUTION
Avatar of Dalin
Dalin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of clifABB
clifABB

While Dalin's answer is the preferred solution, you can just set the progress bar's Max property to whatever the highest number you will be using.

Progressbar1.Max = 1000
Avatar of p400

ASKER

got it working thanks