Important alert: (current site time 7/16/2013 1:24:32 AM EDT)
 

winzip icon

A !! Cool Prank !!

Email
Submitted on: 8/16/2001 5:05:56 PM
By: Ryan Olson - OLSONAMI  
Level: Beginner
User Rating: By 13 Users
Compatibility: VB 4.0 (32-bit), VB 5.0, VB 6.0
Views: 31428
author picture
(About the author)
 
     This is a cool prank to play on a friend if you are mad at them or somethin. It uses some times timers and random numbers to place 3 forms at random positions and make a freaky fluttering in the start menu and system tray.

 

Windows API/Global Declarations:

Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
'**************************************
'Windows API/Global Declarations for :A !! Cool Prank !!
'**************************************
In the zip.
DON'T COMPILE AND RUN UNLESS AS A PRANK
BECAUSE IT HIDES FROM CTRL+ALT+DEL MENU
AND YOU CAN'T CLOSE IT!!!!!!!!!!!
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 10 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Beginner category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
8/17/2001 3:03:26 AMRade-Ku

This indeed is funny, although i made it do some more forms, about 30, and a heap of icons in the icon tray. Ahhh.... the pleasure of having a friend bash the keyboard in an attempt to stop it.
(If this comment was disrespectful, please report it.)

 
8/17/2001 3:32:29 PMRyan Olson

you might be able to put

Dim Newform as New Form1
NewForm.Show

in the timer and make it keep making new forms and then make their computer crash by running out of system resources.
(If this comment was disrespectful, please report it.)

 
8/17/2001 3:34:39 PMRyan Olson

but i haven't tested this i don't know if that will work
(If this comment was disrespectful, please report it.)

 
4/11/2002 12:35:23 AMRobert

that was easy to get out of i just ctrl+alt+del'ed it.too easy so i added:
Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByVal lpvParam As Any, ByVal fuWinIni As Long) As Long
and...
Sub DisableCTRLaltDEL(huh As Boolean)
'Disable CTRL+ALT+DEL'
GD = SystemParametersInfo(97, huh, CStr(1), 0)
End Sub

(If this comment was disrespectful, please report it.)

 
4/11/2002 5:35:34 AMJohn Heslop

erm, so how stop it :P
(If this comment was disrespectful, please report it.)

 
4/11/2002 11:23:03 AMOscarreno

I have nothing against this code or author... but.... WHY IS THIS THE CODE OF THE DAY??? WHY, OH WHY?????
(If this comment was disrespectful, please report it.)

 
4/11/2002 12:27:57 PMAvEnGeR

I don't know it. It's very misterious...
(If this comment was disrespectful, please report it.)

 
4/11/2002 1:11:43 PMMarc

What an useless submssion !
Now it is the Code Of The Day,
tomorrow it will be an Award Winning Code !

5 Gobes !
(If this comment was disrespectful, please report it.)

 
4/11/2002 9:28:08 PMMark Lu

Hmmm... THis did not get me pretty mad, but it is a way of revenge. You can just somehow just go to the C:\Windows\Start Menu\... YOu get it. You can run Task Manager to get rid of it too. Well, anyway, it does drive people mad.
(If this comment was disrespectful, please report it.)

 
7/6/2003 12:06:27 AM

Nice. Very annoying. ;)
(If this comment was disrespectful, please report it.)

 
10/13/2003 4:40:49 AM

[indonesia language]
boleh juga nih program....!
[inglis]
nice program ....!
(If this comment was disrespectful, please report it.)

 
7/17/2004 12:26:38 PMCrook Bogdan

or you can use the shell32 function to run this program an to the infinite with app.path + "\" + app.filename . this sends your pc to hell.
(If this comment was disrespectful, please report it.)

 
5/29/2006 3:50:27 PMMattias

HELP!

This sound SO funny, but i cant get i to work!
(If this comment was disrespectful, please report it.)

 
4/27/2007 6:20:18 AMAngelo

hahaha nice have anyone tried it? 5 globes!
(If this comment was disrespectful, please report it.)

 
5/9/2007 4:44:01 PMDavidovic David

But i can close it from CTRL+ALT+DELETE ??!!
(If this comment was disrespectful, please report it.)

 
8/19/2008 11:57:30 PMalvinwong

Just open Task Manager (Ctrl+Alt+Del/Run->Taskmgr.exe)
Process(2nd tab)
cool.exe
End Process
Yes

That's a really awesome code!
5*

If you want to kill your computer, just use the following code (actually, just crash your program):

do
shell app.Path & "\" & app.EXEName
'If you don't want to crash the app
'add:
'DoEvents
loop

That's a endless loop, and the user can't stop it (maybe in task manager)
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.