PDA

Click to See Complete Forum and Search --> : shortest way to crash computer


agent
Mar 16th, 2001, 06:41 PM
i've found a way to crash the computer in the fewest number of lines possible with the api. Sure you can do it with fewer if you don't use the api, but where's the fun in that?

Private Declare Function GetDesktopWindow Lib "user32" () As Long
Private Declare Function SetParent Lib "user32" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long

Private Sub Form_Load()
SetParent GetDesktopWindow, Me.hWnd
End Sub

Mar 16th, 2001, 06:50 PM
Dangerous code:


Shell "C:\con\con"

parksie
Mar 17th, 2001, 07:47 AM
If you're crazy and you've saved your work, go here:

http://www.parksie.net/winkiller.html

Mar 17th, 2001, 10:03 AM
This isn't the shortest way, but just use Kill to delete some of the valuable system files.

Mar 17th, 2001, 01:46 PM
Megatron! :D

chrisjk
Mar 17th, 2001, 02:00 PM
Windows crashes enough by itself. Who needs to make it do it??????

parksie
Mar 17th, 2001, 02:06 PM
My installation of Win2K crashed on startup 5 times in a row :D

Then I realised that it didn't support VIA chipsets :mad:

chrisjk
Mar 17th, 2001, 10:24 PM
Originally posted by parksie
My installation of Win2K crashed on startup 5 times in a row :DThen I realised that it didn't support VIA chipsets :mad:
No, the first time it didn't support VIA chipsets, the subsequent times it was out of spite ;)

Good Dreams
Mar 18th, 2001, 05:56 PM
Why that thing of con/con makes such a mess?
It's the same thing in parksie's link.

<html>
<body>
<img src="file:///c|/con/con">
</body>
</html>

parksie
Mar 19th, 2001, 11:59 AM
Go to Windows update and look at the section on "DOS Device in Path Name".

Mar 19th, 2001, 02:19 PM
Format C:\

Good Dreams
Mar 19th, 2001, 05:37 PM
Format C:??

Sastraxi
Mar 19th, 2001, 05:53 PM
Try setting up OpenGL but not using a pixel format!

Sastraxi
Mar 19th, 2001, 05:54 PM
(and then try drawing something)

chrisjk
Mar 19th, 2001, 06:47 PM
Much simpler, just enable Active Desktop, use IE a few times, open Outlook every now and again, give Word a whirl and...oh whoops, can't tell you anymore, that's all it could handle ;)

KrishnaSantosh
Mar 24th, 2001, 07:06 PM
Reading Old GWBasic Manual Taught me how to disable
the reset button in the CPU. But I haven't tried it yet.

Lord Orwell
Mar 25th, 2001, 03:11 AM
howabout echo y|format c: /q? (quick format, takes just a few seconds, clicks "y" for you

I would be interested in seeing that code to disable reset button.

Supposedly fdisk c: /mbr renders the hard drive useless by deleting the master boot record. (im too scared to try) :eek:

parksie
Mar 25th, 2001, 06:55 AM
fdisk /mbr rewrites the master boot record windows-style, so it repairs it rather than damaging it -- you use this to remove Linux.