There a sample in solutions in VFP8 and later how to do that. One of the way to get to it is to launch
DO HOME() + [\samples\solution\solution.app]
Expand 'New in VFP 8' and scroll down to 'System Tray icon example'.
>
>Whould you help me how to make an VFP application always running in SysTry (like any TSR apps) even after user logs off.
>
--sb--