The way I use my progress meter during long batch operations is that I only update it when I change tasks... For example:
mytherm.setsize(1/5)
append from mytable
mytherm.setsize(2/5)
replace all blah with blahblah
mytherm.setsize(3/5)
index on blah
mytherm.setsize(4/5)
select main
set relation to blah into mytable
replace all stuff with blah.stuff
mytherm.setsize(5/5)
That way, it only gets called a few times...
>>Hi Tim,
>>
>>>Sounds good but how do you implement it?
>>
>>It extremely complicated, you drop it on a form and increment the Value property.
>>
>>There are lots of third party ProgressBars and Wrapper classes, but I just use the MS ProgressBar v6.0 that came woth VFP 6. Do you use ActiveX much? If you need anymore help me know.
>
>yeah, sounds complicated. I did get one from the files section just now and finagled it to run. It sure DOES slow down progress though! during a pass thru the dbf.
--Todd Sherman
-Wake Up! Smell the Coffee!