On Jun 13, 2006, at 1:30 PM, Paweł Modzelewski wrote:
Thank You very much Keith!
Your suggestion was very helpfull. What I came to, waiting for an
answer, was putting in my routine as "pause" those lines:
Do Until (sRetData <> "" Or bTimeout = True)
Loop
But as You, of course, know it just could not work. Then came Your
post and "eureka"!
App.DoEvents() was the key! :) Thank You once more!
Essential frgment of the routine now looks like this:
Do Until (sRetData <> "" Or bTimeout = True)
App.DoEvents()
Loop
Don't use App.DoEvents !
You may not experience problems at present but you will at some time
It's not what App.DoEvents is for
_______________________________________________
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>