Introduction: The Computer Beep Prank

Picture of The Computer Beep Prank

This is a little computer program made in visual basic 6.
this program makes little beeps every ten seconds.
terrible for your victim.

I made the program in visual basic 6 the only way to quit this program is in taskmanager, but i've named the winsys32 so most people will not shut it down because they think it's a windows program.

you can download the .exe file or you can make your own in visual basic 6.0

Step 1: How to Add It on Your Victim's Computer

Picture of How to Add It on Your Victim's Computer

you have to place it in your victim's startup folder.
in my case it was: C:\Documents and Settings\All Users\Menu Start\Programma's\Opstarten
I've got the dutch version of windows. so I don't know exactly were the startup folder is in other languages of windows.

1. go to the partition of your harddisk were you've installed windows
2. open the folder documents and Settings
3. open the folder all users
4. open the folder menu start ( this was in my case you may need to find the other name)
5. now you're going to look for the startup map (in the dutch version of windows it was named "opstarten")
6. paste the program in this folder

Step 2: How to Make It in Visual Basic 6.0

Picture of How to Make It in Visual Basic 6.0

this is a very easy program to make in vb6.0
1. make a new standard EXE
2. add a timer (just drag it into your form)
3. change the interval to the amount of milliseconds you want to beep the program.
1 second = 1000 milliseconds

the project and form files are included in this download

Step 3: How to Make It Part 2

Picture of How to Make It Part 2

double click at the timer in your form. now the code screen appears.
at the top of the screen, above all text paste this down

Private Declare Function Beep Lib "kernel32" _
(ByVal dwFreq As Long, ByVal dwDuration As Long) As Long

then put in your timer sub the beeps you want to have:

beep 8000, 1000

in this piece of text the 8000 is the frequency in Hertz, the 1000 is the duration of the beep in milliseconds.

you can of course add more beeps and change all the things you want.

Step 4: Make It Almost Invisible

Picture of Make It Almost Invisible

click on your form and watch the properties window at the right of your screen here you will need to make some changes.

1. change (name) to something you want if you choose some windows name thing like explorer, system, system32.

2. change Caption to the same as (name)

3. scroll down and change ShowInTaskbar to False

4. change Visible into False

5. save your project under the same name.

that's it

Step 5: Done and Other Things to Add

now you can make the EXE and have fun.

you can also add more timers and things.
you can make a timer that goes off every ten minutes and every time it goes of it wil display a message like: you've been pranked.
the code for this is

MsgBox "you've been pranked"


account3r2 (author)2010-09-18

can you make it sound like a dial up connection?

you can make it sound like a dial up connection. just change the code a bit:
beep 8000, 1000
8000 is the freq and 1000 is time in ms.
if you change the numbers and copy this line a few times you can make it sound like a dial up connection
the only thing you can't make is the noise at the end.

can u make the file so i can download it? thanks

the file is made, you can find it in step 1.

what are the .vbw .vbp and .frm files for

that are the source files for Visual Basic 6.0.
you will only need them when you want to change the program.

Huntman00 (author)2009-09-25

can u do this in a batch file?????

yes @ECHO OFF &FOR; /L %%? IN (1,1,1) DO (ECHO/ &&PING; -n1 -w5000 LOCALHOST>NUL)

its all in one line can you add a ~ or something indicating line skip? or maybe pm me?

I don't know anymore how that code went, and I can't find it on the web. you can google for Batch Beep, but that didn't help me either

hg341 (author)2009-04-02

nice i would have do a soild tone though...

About This Instructable




Bio: Student: Embedded Systems Engineering
More by maartencomputer:the computer beep prank
Add instructable to: