Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run VFP app as scheduled service minimised
Message
De
23/07/2010 15:21:00
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01473553
Message ID:
01473615
Vues:
62
This message has been marked as a message which has helped to the initial question of the thread.
>>Since you run app as a scheduled service you do not need a screen. So, use config.fpw with the follow setting:
>>SCREEN=OFF
>
>Great stuff Marat - thanks a lot

I found that even with SCREEN=OFF, the invisible app still took focus away from the user's current foreground application.
It was annoying.

What worked for me was to create a new windows user on that machine (with appropriate rights) and then tell the services to launch the app in that user context.

The app is then launched outside the user's desktop and can't steal focus.
It is also completely invisible to you - so make sure it won't hang :)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform