Matt,
AppGet is one of several GW Micro apps that uses DoEvents. Specifically,
App Get uses a foreach loop to parse XML data about available apps while
updating a progress bar. DoEvents is used inside that loop to allow the
message queue to be processed so that the progress bar updates. If
DoEvents was not used, the message queue would be tied up so that the
progress bar wouldn't update until the loop was complete.
Aaron
On 6/18/2012 9:07 PM, MJ Williams wrote:
Hi
I understand the
idea
behind
doEvents,
but haven't yet really succeed in replicating a situation in code for
which it was designed. I would be grateful if anyone could point me to
a code fragment or something that illustrates the proper and effective
use of doEvents.
Thanks guys.
Regards
Matt
--
Aaron Smith
Web Development * App Development * Product Support Specialist
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.com
To insure that you receive proper support, please include all past
correspondence (where applicable), and any relevant information
pertinent to your situation when submitting a problem report to the GW
Micro Technical Support Team.