Monthly Archives: March 2009

April Fool Prank :P Tags:


Today! Iโ€™ m writing an April fool prank, which I intend to play on my class fellas in the Labs. ๐Ÿ˜›


** AFL – April Fool License **
1)This program is released under April Fool License ๐Ÿ˜›
2)Thus can only be used fro Fooling purpose, subject to April fool days, and don’t fool me ๐Ÿ™‚

** Prank Script **
>> Disable task manager during program Run X)
1) Show a hardware crash message
2) Distract user from monitor, by opening CD Drive
3) Show Scary Image
4) Calm him down, using maple leaves image
5) Show some funny images
6) Perform Matrix Trinity Call (Knock Knock!) ๐Ÿ˜›

Happy April Fooling!!

– Sanil ๐Ÿ˜€


Most of the coding goes in C#, invoking native windows APIs

Since, I am feeling Kinda Lazy :O, so Iโ€™ll not be discussing the coco-jumbo of the code here, most of the code is โ€œdocumentedโ€ or self explanatory

But one thing I would like to point out is that, entire prank is spread over two files:

  1. Program.cs
    • Checks that program should start prank or not
    • Sets up/unsets Registry keys for auto start up at windows logon
    • Show hardware crash error message
    • Pops up CD drive.
    • All the desktop freaky stuff
    • Calling DummyDesktop Form
  2. DummyDesktop.cs
    • Toggle Desktop Shell.ToggleDesktop()
    • Copy Windows Desktop image and replicate on Window Form (Yeah! thatโ€™s Dummy Desktop)
    • Show some more funny Images
    • Finally perfrom Matrix Call (From Matrix-1 Movie, that Knock Knock! call on computer screen)
    • Never Exit.
  3. To exit in the end, press Alt +F4
  4. WARNING: The program is protected by AFL (April Fool License :P)

Download: |

The links will become invalid few days after April 1