>Hi!
>
>What is that "task"? Non-VFP EXE you can run using API function ShellExecute(), that also have a parameter to hide app window, however, it does not always help because many applications have their own system of controlling application windows. When EXE is VFP EXE application, you can hide it before starting just by putting 'SCREEN=OFF' in the config.fpw file, and then include that config file into that exe or run EXE using that config file.
>
>If you meant processes in multi-threaded environment - VFP does not support this. You will require to make a C++ COM object that you can call from VFP, and that COM object, using C++, probably can do multi-threading.
>
>HTH.
>
>>That is, I want to create a new task with Completely nothing show, it is a background task.
>>
>>Since the idea is general, I donno the title of execute file.
>>I also don't want to hide them on system tray, I just want to hide it completely.
>>
>>Thanks.
I am testing some key log program which to capture user input.
One of the usage to run it when MY Office PC startup.
I afraid someone go my PC and do unexpected task.
Since my PC got scanner, my PC must be available all other staff to use
after I leave office.
For some special propose, I need to hide the task completely to prevent interrupt.
Thanks all. :)
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.