Board index » delphi » Re: hide application in tasklist?

Re: hide application in tasklist?


2004-11-13 11:47:25 PM
delphi1
Hi,
You could consider using the Disable Task Manager
(HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableTaskMgr)
policy to prevent users from running task manager, thus "End Process" would
not be available. Alternatively, create your program as a system process so
that only those with sufficient access right can close it.
Gregory
"Milan" <XXXX@XXXXX.COM>writes
Quote
Doesn't work!! Again it cann't work. When you select my application in
Windows task manager and click on the button "End process" yu will kill
aplication! This isn't problem solution. I really need hide my
application.

"Ian Jennings" <XXXX@XXXXX.COM>writes
news:XXXX@XXXXX.COM...
>"Milan" <XXXX@XXXXX.COM>wrote in
>news:XXXX@XXXXX.COM:
>
>>no, no you can try it and you will see ...
>>
>
>It works perfectly here. No problem at all. One line of code:
>
>procedure TForm1.FormCloseQuery(Sender: TObject; var CanClose: Boolean);
>begin
>CanClose := GetAppPassword = 'TEST';
>end;
>
>
>Where GetAppPassword invlokes a password dialog and returns what the user
>types in.
>
>HTH


 
 

Re: hide application in tasklist?

I know, policy to prevent users from running task manager. I used this, but
this ability I put user, which can manage this application. I try second
point. I hope, that it is all clear. I don't know write very good in English.
Thanks.
"Gregory Haynes" <XXXX@XXXXX.COM>writes
Quote
Hi,

You could consider using the Disable Task Manager

(HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableTaskM
gr)
Quote
policy to prevent users from running task manager, thus "End Process"
would
not be available. Alternatively, create your program as a system process
so
that only those with sufficient access right can close it.

Gregory

"Milan" <XXXX@XXXXX.COM>writes
news:4195c6b2$XXXX@XXXXX.COM...
>Doesn't work!! Again it cann't work. When you select my application in
>Windows task manager and click on the button "End process" yu will kill
>aplication! This isn't problem solution. I really need hide my
>application.
>
>"Ian Jennings" <XXXX@XXXXX.COM>writes
>news:XXXX@XXXXX.COM...
>>"Milan" <XXXX@XXXXX.COM>wrote in
>>news:XXXX@XXXXX.COM:
>>
>>>no, no you can try it and you will see ...
>>>
>>
>>It works perfectly here. No problem at all. One line of code:
>>
>>procedure TForm1.FormCloseQuery(Sender: TObject; var CanClose:
Boolean);
>>begin
>>CanClose := GetAppPassword = 'TEST';
>>end;
>>
>>
>>Where GetAppPassword invlokes a password dialog and returns what the
user
>>types in.
>>
>>HTH
>
>