Sign in to follow this  
Followers 0
BryonR

[SOLVED] ProgressOn

3 posts in this topic

#1 ·  Posted (edited)

My progress bar is not updating based upon the number record it gets to.

Need a little help..

Dim $aRecords
If Not _FileReadToArray($PACScallnumbers,$aRecords) Then
   MsgBox(4096,"Error", " Error reading log to Array     error:" & @error)
   Exit
EndIf
ProgressOn("Progress Meter", "Sending Page...", "0 percent")
For $x = 1 to $aRecords[0]
$website = "http://<url>
MsgBox(0,"test",$website)
ProgressSet( 10, "Sending message to pager "&$aRecords[$x])
Next                
ProgressSet(100 , "Done", "Complete")
sleep(500)
ProgressOff()
Edited by BryonR

Share this post


Link to post
Share on other sites



Try:

ProgressSet( 100/$aRecords[0]*$x, "Sending message to pager "&$aRecords[$x])
Thank you!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0