Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: How to run a job in background?


Message #1 by "yo" <rlee@c...> on Fri, 18 May 2001 03:00:35
> Hi,
> 
>    I program a app. which connect to the DB via ADO and it will auto
> refresh to check for the new record. The auto refresh function is
> implemented by the timer object. Once the app refresh , the app always
> becomes active and bring itself to the top of the windows. It always
> bring trouble to the users and makes them bored.
> 
>    Anyone knows how to refresh the app without making it active ?

At a guess it sounds like you are not only updating your data, but you are 
also performing some sort of screen update that involves making your 
window active or setting the focus, changing zorder or similar.

Try turning off any screen updates as a test and see if it still jumps 
forward. If not, then you need to just update the contents of controls 
without changing any other UI properties to address this. But this is a 
guess :-)

Paul Bradbury,

Birmingham, UK.

  Return to Index