Or use a modal dialog with a progress bar. The download code runs in
the thread and updates the dialog, not the window. If you need to
block everything else while the download is progressing then I believe
that is the appropriate way. Otherwise you'd have to un-enable all
your controls and menus.

Dean Davis

On 4/20/06, Norman Palardy <[EMAIL PROTECTED]> wrote:
>
> On Apr 20, 2006, at 1:47 PM, Dennis Birch wrote:
>
> > On 4/20/06, Joseph J. Strout <[EMAIL PROTECTED]> wrote:
> >>
> >> That's it; there's no step 4.
> >
> >
> > Unless you need to block execution of other code from running while
> > the
> > thread runs, in which case you need to use a semaphore or critical
> > section
> > (as I understand it), which I personally find quite confusing.
>
> Confusing is better than possibly crashing which you may get with
> app.DoEvents
>
> Any other code could just check to see if the thread is still running
> and simply do nothing and return if the thread is still doing its bit
>
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
>
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>
>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to