"jobi" <(E-Mail Removed)> schrieb
> Hi,
>
> I'm trying to develop this vb.net application which gathers info.
> When I start the gathering process, I refresh text-fields in the
> form to see progress and to see where it gets.
> This works fine as long as the application has the focus.
>
> When I start an other application or switch to an other
> application (e.g. taskmanager, outlook), the form-refresh of my
> application stops. When I put the focus back to my application, the
> form remains blank. the refreshes do not occur ?!?
> In taskmanager the application gets status not-responding, but it
> does what it's supposed to do.
>
> What can I do to correct this ?
Complain to the WinXP developers. See 3rd paragraph:
http://msdn.microsoft.com/library/en...sagequeues.asp
The developers forgot that a not responding window may still display
something even if it intentionally does not accept input. :-(((((((((((((
This ghost window "feature" can not be turned off.
Two ways around: Either use application.doevents (carefully!) or put the
work in a different thread. Both may lead to much more work than we had to
do in previous OS versions.
--
Armin
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html