Here's the progress bar in the MS help file i'm trying to use.
Code: Select all
Dialog>dlgProgress
Caption=Progress
Top=150
Width=451
Left=20
Height=43
ProgressBar=progressbar,0,0,441,16,0
EndDialog>dlgProgress
Show>dlgProgress
Let>k=1
Repeat>k
Let>dlgProgress.progressbar=k
ResetDialogAction>dlgProgress
Wait>3
Let>k=k+1
Until>k,100
Code: Select all
Let>RP_WINDOWMODE=2
RUN>update.exe
WAIT>1200
//UPDATE TO 20% PROGRESS
Let>RP_WINDOWMODE=2
RUN>update.exe
WAIT>1200
//UPDATE TO 40% PROGRESS
Let>RP_WINDOWMODE=2
RUN>update.exe
WAIT>1200
//UPDATE TO 60% PROGRESS
Let>RP_WINDOWMODE=2
RUN>update.exe
WAIT>1200
//UPDATE TO 80% PROGRESS
Let>RP_WINDOWMODE=2
RUN>update.exe
WAIT>1200
//UPDATE TO 100% PROGRESS
I know this is probably easy and there's something I just don't get... but i've thought long and hard...and still can't make it work!!!
Also, I probably could cleanup the code by running it in a loop for so many cycles ...but i don't know how to do that... so i did it the old skool way
Thanks in advance for any help you can give.