How is it possible to hide the program from the Ctrl-Alt-Del menu?

How is it possible to hide the program from the Ctrl-Alt-Del menu?

I know i can be done!


Comments

  • : How is it possible to hide the program from the Ctrl-Alt-Del menu?

    : I know i can be done!


    I also know it can be done.

    A fellow i know did it whit a ocx.

    But he dont know the name


  • The program has to be 'registered" with windows. I'll try to find the code again and repost.


  • : How is it possible to hide the program from the Ctrl-Alt-Del menu?

    : I know i can be done!


    This worked for me


    NOTE: This code will *NOT* work in NT.


    Put the following code in a bas module

    '//*********************************//'

    Public Declare Function RegisterServiceProcess Lib "kernel32" (ByVal ProcessID As Long, ByVal ServiceFlags As Long) As Long

    Public Declare Function GetCurrentProcessId Lib "kernel32" () As Long


    Put the following code in Form_Load

    '//******************************//'

    RegisterServiceProcess GetCurrentProcessId, 1 'Hide app


    Put the following code in Form_Unload

    '//********************************//'

    RegisterServiceProcess GetCurrentProcessId, 0 'Remove service flag


  • Thank you!


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories