On Apr 20, 2006, at 9:38 AM, Alexander Bauza wrote:
In my app I got a very long process and I use a window with a
ProgressBar within it.
This very long process retrieve data from an URL and I'm using an
HTTPSocket control.
Also I got a boolean local property in this window. It turns True
when finishes the PageRecieved event.
This window fires a thread (it does the very long process) and I do
this to refresh it:
MyProgressWindow.MyHTTPSocket.Get(TheURL)
do until MyProgressWindow.Complete
App.DoEvents
loop
I do not want to use App.DoEvents anymore but if I delete this
line, the window simply doesn't work...
I need some help...
Two options: First, use MyProgressWindow.MyHTTPSocket.Poll instead
(although the progress window won't refresh), or second: move the
call to Get into a separate thread.
HTH,
Jon
_______________________________________________
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>