Visual Basic - Capar Admor. Tareas en W2K

Life is soft - evento anual de software empresarial
 
Vista:

Capar Admor. Tareas en W2K

Publicado por Juanma (19 intervenciones) el 04/12/2001 08:32:41
Hola amigos¡ Me gustaria saber si hay alguna forma de capar o inhabilitar el administrador de tareas de windows 2000, o no poder terminar (prohibiendoselo de alguna forma) un determinado proceso. Muchas Gracias. Hasta otra¡¡¡
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:Capar Admor. Tareas en W2K

Publicado por Antonio (2 intervenciones) el 05/12/2001 06:08:44
Te paso esta funcioncilla que desabilita tanto el ctrl+alt+supr como el alt+tab, tu haces el resto fale????
******************************************

Disable/Enable Ctrl+Alt+Del and Alt+Tab

DECLARACION:
-----------

Public Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, lpvParam As Any, ByVal fuWinIni As Long) As Long

Public Const SPI_SCREENSAVERRUNNING = 97

CODIGO:
------

' An improved version of the code submitted by Adam Luck. This will not cause
' errors when toggling the state, and compress the code in to 1 subroutine.

Private Sub ToggleCtrlAltDel(IsEnabled As Boolean)
Dim lReturn As Long
Dim lBool As Long
lReturn = SystemParametersInfo(SPI_SCREENSAVERRUNNING, IsEnabled, lBool, vbNull)
End Sub

******************************************
Un saludo y espero que te sirva
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar