Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run VFP app as scheduled service minimised
Message
From
23/07/2010 15:21:00
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01473553
Message ID:
01473615
Views:
61
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 :)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform