Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I run an Execute with totally hide?
Message
From
27/08/2001 04:44:43
 
 
To
24/08/2001 21:53:47
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00548458
Message ID:
00549363
Views:
29
Hi!

You can use the SRVAny application from the NT Resource Kit to run VFP EXE as a service. When you run it from your own or administrator account, other users will not have rights to kill or stop that process. All that they can do is just delete some files or change them so your application do not run properly. So, protect also the files on which your app is depended. Note that you require to protect, move or delete the 'KILL' utility application on your comuter, to keep it out from touch by otehr users because kill allows to kill process without warning and checking of user rights.

HTH.

>>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. :)
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform