Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynazip Minor/Major StatusFlag and progress problem
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00122989
Message ID:
00123071
Views:
17
Hi, thank for all your kind help and interests. Actually, I managed to get it to work finally, however, the progress indicator don't seem to display any thing at all until the compression is completed. I am using vfp 5.0a on a Pentium II 333Mhz PC. Any help or suggestion is very much appreciated. Thank you.


>>>Hi,
>>>
>>> I am new to dynazip. Heard that it is good. But I had difficulty using the progress indicator.
>>>
>>> I had set the minorstatusflag & majorstatusflag to .T.
>>>and use the zipminorstate event procedure to display the dynazip control status like this
>>>
>>>THISFORM.oleStatus.StatusPercent = Percent
>>>THISFORM.oleStatus.StatusText = itemname
>>>
>>>where the percent and itemname is pass to us by the event procedure.
>>>
>>>I can zip up the file but the indicator or progress indicator didn't display anything at all. Did I miss any setting.
>>>
>>>Any help or advise is very much appreciated.
>>
>>Hi Virusim,
>>
>>You need to set the VFP.Autoyield property to False. This allows the Dynazip library to fire additional methods (Progress routines), otherwise AutoYield set to True doesn't allow outside events to occur.
>>
>>DJ
>
>You're not still stuck in VFP 3 like me, are you? If so, you won't be able to use code in the dynazip's own objects. You'll have to use DZPROG, which is less flexible, but works.
Best Regards
Virusim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform