|
-
Jul 2nd, 2002, 11:23 AM
#1
Thread Starter
New Member
Why doesnt this code work?
Someone has sent me one of those crazy Viruses that disables the Cntrl-Alt-Delete keys so you cant see applications and services in the Task Manager that are running on the computer
I am trying to use API calls to Enable the Cntrl-Alt-Delete so I can find out what the virus is.
In VB 6.0 the code works fine when I run my application on Windows 98.
But now I have WindowsXP and VS.Net and the same code wont work anymore. Here is what I got:
Private Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByVal lpvParam As Long, ByVal fuWinIni As Long) As Long
Public Function ALT_CTRL_DEL_Enabled()
Return SystemParametersInfo(97, True, CStr(1), 0)
End Function
Can anyone tell me what is wrong here and why the task manager still wont show up when i press Cntrl-ALT-Delete
thank you!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|