|
-
Nov 6th, 1999, 05:27 PM
#1
Thread Starter
Frenzied Member
HI!
How do i make a program that comes with an error when CTRL+ALT+DEL is pressed.
I have tried the KeyDown, but it didn't work.
/ CyberCarsten
-
Nov 6th, 1999, 10:02 PM
#2
your going to have to find a way to intercept the warm re-boot irq, before windows gets it. good luck, it is possible, maybe its worth going back through the postings on this site a few weeks.
------------------
Wossname,
Email me: [email protected] 
-
Nov 6th, 1999, 10:59 PM
#3
Hyperactive Member
Actually, you could do it really easily, but not as direct as the method you were looking for...
Checkout this tip in VB-World on how to disable Ctrl+Alt+Del by making the machine think the screen saver is running. Then use the GetAsyncKeyState or better yet the GetKeyState (I think?) API to determine which keys are being pressed; meaning you are looking for the combination of control+alternate+delete. If those keys are being pressed, display your error message.
-
Nov 7th, 1999, 09:17 AM
#4
Lively Member
1 solution would be.
In the Tips Section of VB-World. Find the Tip telling you how to disable Ctrl+Alt+Del.
Then create a timer: Interval=100
Use the following API
Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
to check for 3 keys, Ctrl,Alt & Del and if true then ...
Steve.
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
|