BBS: Inland Empire Archive Date: 05-26-92 (16:39) Number: 123 From: JOHN GALLAS Refer#: 114 To: MIKE KRUPPENBACHER Recvd: NO Subj: Event trapping Conf: (2) Quik_Bas
MK> MK> JS> I am trying to write some code that traps the ctrl_alt_del MK>
MK> JG> are hoping to do, MK> it would need to be DISABLED instead. The
MK> ctrl-alt-del sequence is a
MK>
MK> JG> I'll betcha everyone in the echo will jump on you for that..
MK> JG>
MK> Its possible.. I got this from an OLD basic manual so Quickbasic just
MK> MAY have a way to do it that I am not aware of (especially as I seldom
MK> use the .lib and .qlb) ...
But you don't even have to use them! Just do this:
KEY 20,CHR$(12)+CHR$(83)
OK KEY(20) GOSUB CantReboot
KEY(20) ON
and that'll trap it without ANY libs!
--- ProBoard v1.21 [Reg]
* Origin: The O-Zone BBS 612/591-7767 New Hope, MN (1:282/30.0)

Books at Amazon:
Back to BASIC: The History, Corruption, and Future of the Language
Hackers: Heroes of the Computer Revolution (including Tiny BASIC)
Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution
The Advent of the Algorithm: The Idea that Rules the World
Moths in the Machine: The Power and Perils of Programming
Mastering Visual Basic .NET