Board index » delphi » hiding program from task list

hiding program from task list

How can I make a program not appear on Win95's task list brought up by
Ctrl-Alt-Del?

The application is a program which communicates with other computers on a
LAN and I dont want users to be able to close it (a program which broadcasts
messages sent by bosses,etc over the network).

Any ideas are highly appreciated.

thanks

sf...@fx.ro

 

Re:hiding program from task list


sfynx,

It's not a good idea to give this kind of information in a NG.
Some bad guys that make some bad code (to format your harddrive or so) use
these techniques.

But why would you hide app so deep? I think it's a good thing to give your
user the possibillity to stop an app in a neat way if it hangs (even if your
app is stable, Win95 isn't). Else your user have to reset the computer.

regards,
Alfred.

sfynx heeft geschreven in bericht <7s3pd2$k1...@main.roknet.ro>...

Quote
>How can I make a program not appear on Win95's task list brought up by
>Ctrl-Alt-Del?

>The application is a program which communicates with other computers on a
>LAN and I dont want users to be able to close it (a program which
broadcasts
>messages sent by bosses,etc over the network).

>Any ideas are highly appreciated.

>thanks

>sf...@fx.ro

Re:hiding program from task list


Alfred ten Hoeve <Alfred.tenHo...@gironet.nl> wrote in message
news:937818679.583995@jive.news.big-orange.net...

Quote
> sfynx,

> It's not a good idea to give this kind of information in a NG.
> Some bad guys that make some bad code (to format your harddrive or so) use
> these techniques.

I sometimes use format c:

Perhaps I shoud not tell people because some bad person might use it for
{*word*194} purposes?

Quote
> But why would you hide app so deep? I think it's a good thing to give your
> user the possibillity to stop an app in a neat way if it hangs (even if
your
> app is stable, Win95 isn't). Else your user have to reset the computer.

Security works this way. That's why there are security features so deep in
NT that it is not possible to "close" them. Our friend is trying to imitate
the nature of NT. For most users it will work.

Try

sendmessage(application.handle,sw_hide,0,0);

Hide the mainform too.

Quote
> regards,
> Alfred.

> sfynx heeft geschreven in bericht <7s3pd2$k1...@main.roknet.ro>...
> >How can I make a program not appear on Win95's task list brought up by
> >Ctrl-Alt-Del?

> >The application is a program which communicates with other computers on a
> >LAN and I dont want users to be able to close it (a program which
> broadcasts
> >messages sent by bosses,etc over the network).

> >Any ideas are highly appreciated.

> >thanks

> >sf...@fx.ro

Re:hiding program from task list


Greg Lorriman heeft geschreven in bericht
<37e5f47...@nnrp1.news.uk.psi.net>...

Quote

>Alfred ten Hoeve <Alfred.tenHo...@gironet.nl> wrote in message
>news:937818679.583995@jive.news.big-orange.net...
>> sfynx,

>> It's not a good idea to give this kind of information in a NG.
>> Some bad guys that make some bad code (to format your harddrive or so)
use
>> these techniques.

>I sometimes use format c:

>Perhaps I shoud not tell people because some bad person might use it for
>{*word*194} purposes?

>> But why would you hide app so deep? I think it's a good thing to give
your
>> user the possibillity to stop an app in a neat way if it hangs (even if
>your
>> app is stable, Win95 isn't). Else your user have to reset the computer.

>Security works this way. That's why there are security features so deep in
>NT that it is not possible to "close" them. Our friend is trying to imitate
>the nature of NT. For most users it will work.

>Try

>sendmessage(application.handle,sw_hide,0,0);

This wouln't hide the app from Ctrl-Alt-Del.

- Show quoted text -

Quote

>Hide the mainform too.

>> regards,
>> Alfred.

Re:hiding program from task list


Yeah, you're right. I can't remember how to do it. It's something along
those lines.

Alfred ten Hoeve <Alfred.tenHo...@gironet.nl> wrote in message
news:937823138.494463@samba.news.big-orange.net...

Quote

> Greg Lorriman heeft geschreven in bericht
> <37e5f47...@nnrp1.news.uk.psi.net>...

> >Alfred ten Hoeve <Alfred.tenHo...@gironet.nl> wrote in message
> >news:937818679.583995@jive.news.big-orange.net...
> >> sfynx,

> >> It's not a good idea to give this kind of information in a NG.
> >> Some bad guys that make some bad code (to format your harddrive or so)
> use
> >> these techniques.

> >I sometimes use format c:

> >Perhaps I shoud not tell people because some bad person might use it for
> >{*word*194} purposes?

> >> But why would you hide app so deep? I think it's a good thing to give
> your
> >> user the possibillity to stop an app in a neat way if it hangs (even if
> >your
> >> app is stable, Win95 isn't). Else your user have to reset the computer.

> >Security works this way. That's why there are security features so deep
in
> >NT that it is not possible to "close" them. Our friend is trying to
imitate
> >the nature of NT. For most users it will work.

> >Try

> >sendmessage(application.handle,sw_hide,0,0);

> This wouln't hide the app from Ctrl-Alt-Del.

> >Hide the mainform too.

> >> regards,
> >> Alfred.

Re:hiding program from task list


Found it! It is

  ShowWindow(Application.Handle, SW_HIDE);
  mainform.visible:=false;

Alfred ten Hoeve <Alfred.tenHo...@gironet.nl> wrote in message
news:937823138.494463@samba.news.big-orange.net...

Quote

> Greg Lorriman heeft geschreven in bericht
> <37e5f47...@nnrp1.news.uk.psi.net>...

> >Alfred ten Hoeve <Alfred.tenHo...@gironet.nl> wrote in message
> >news:937818679.583995@jive.news.big-orange.net...
> >> sfynx,

> >> It's not a good idea to give this kind of information in a NG.
> >> Some bad guys that make some bad code (to format your harddrive or so)
> use
> >> these techniques.

> >I sometimes use format c:

> >Perhaps I shoud not tell people because some bad person might use it for
> >{*word*194} purposes?

> >> But why would you hide app so deep? I think it's a good thing to give
> your
> >> user the possibillity to stop an app in a neat way if it hangs (even if
> >your
> >> app is stable, Win95 isn't). Else your user have to reset the computer.

> >Security works this way. That's why there are security features so deep
in
> >NT that it is not possible to "close" them. Our friend is trying to
imitate
> >the nature of NT. For most users it will work.

> >Try

> >sendmessage(application.handle,sw_hide,0,0);

> This wouln't hide the app from Ctrl-Alt-Del.

> >Hide the mainform too.

> >> regards,
> >> Alfred.

Other Threads