|
-
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!
-
Jul 2nd, 2002, 12:12 PM
#2
I am trying to use API calls to Enable the Cntrl-Alt-Delete so I can find out what the virus is
While it is creative to try to find what virus this is in code, why wouldn't you just use a virus scanner to figure it out?
-
Jul 2nd, 2002, 12:29 PM
#3
Thread Starter
New Member
Well Ihave norton but when I installed XP it said their were known compatabilty issues and would not work on XP like it did on 98. But that's not what I am looking for. In my experience Virus Scanners never do the job right. I have always had better luck removing them manually. But you are right a virus Scanner would tell me what the virus is, but, thats just not what I am trying to do. I am trying to figure out how to make my task manager pop back up when I press Cntrl-Alt-Delete, regardless of the Virus itself. It was easy to do in VB6.0 but I am trying to figure out the .Net Equivelent.
-
Jul 2nd, 2002, 12:54 PM
#4
Thread Starter
New Member
In fact, I think I have this same virus on 3 seperate computers (it was sent to my family by another family member, they didnt know they did it untill it was too late) and one of the computers has Norton AntiVirus and the other computer has McAFee. Both are running Windows 98 however, but both scanners are kept up to date with Live Update etc. Even though both scanners are up to date they dont detect this virus. I know this because the Cntrl-Alt-Delete keys to show the Task Manager wont work on either of those computers just the same. So it must be a new virus that has no definition in the scanners, there is no telling how long it will be before they do release the definition file containing the cure for the virus and I dont feel like waiting and I dont want to reformat.
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
|