Monthly Archives: March 2009

April Fool Prank :P

del.icio.us Tags:

 

Today! I’ m writing an April fool prank, which I intend to play on my class fellas in the Labs. 😛

================ReadMe.TXT==================

** 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: http://projects-sanil.co.cc/DesktopShock.zip | http://tinyurl.com/c7kste

The links will become invalid few days after April 1