Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Background program steals window focus
Message
De
25/03/2010 00:13:41
 
 
À
24/03/2010 13:31:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01456999
Message ID:
01457099
Vues:
94
>I have created a program in VFP that does not have any forms and does not use the VFP desktop. It is scheduled to run every few minutes in the background with Windows Scheduler to check for data changes at a remote site. It works fine. However, each time it runs it takes away the window focus from any other VFP program which happens to be running at the time.
>
>To get it to run unseen, I am using SCREEN=OFF in a config.vfp file which is called at run time.
>
>Can anyone help with how to write the code so the window focus is not taken away from other VFP programs when the background program runs.
>
>Thanks....

Seth

You could set up a dummy user and make this program run in windows scheduler under that user credentials.

On our Terminal server we have a number of apps like this that run the whole time with no problem.

Try and see

Bernard
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform