Click here to Skip to main content
Licence 
First Posted 14 Apr 2006
Views 40,295
Bookmarked 22 times

Drive away the guy who takes up your computer

By | 14 Apr 2006 | Article
A way to make others think something is wrong with your video card or monitor

Sample Image - badscreen.jpg

Introduction

Hi, buddy!

Is there someone around you always taking up your computer, but you are not able to drive them away for some reason?

Don't worry. Now we have this "Bad Screen Maker". Maybe you can give me a better name. Whis this, you can make your monitor looks dieing, and the bad guy can not tolerance this, so you take over your computer again!

To start it, just double click it, and what happened? No window appears, and everything looks unchanged. Wait a few seconds. Oh, something wrong with my computer? My monitor looks instable! That's right, the code works.

You can simpley press ctrl+alt+shift+F12 to enable or disable the function. Originally, I use ctrl+alt+shift+win+F12 as the hotkey, but maybe some friends' keyboard have no win key, so I use the current one. The code works immediately when it is started, why? Think about this, if someone log on your computer with your ID, and he don't know you have this code, and don't know you have it started when the system is starting, he will think something is wrong with your computer, and leave it.

There's one problem. With task manger, you can see the process with the name "badscreen.exe". To over come this, change the name of the executable file to some others, e.g. "IntelPro.exe". I think no one will suspect the name above.

The program draw your primary screen, every 1 to 10 seconds randomly, and leave it disordered for 0.3s. You can change this by editing the code, or add some command line control.

Ok, buddy. I will appreciate if it is useful to you.

 

Contents added after reading some replies

This is my first time to put my idea on code project, and I am not a native english speaker, so some grammar errors may occur. If you do not understand me please let me know, and i will modify the article.

 

About the code

This is a simple win32 application with one cpp file, and a few lines in it. Now I will tell you the principle of the program.

The most important function is

<BR>void DrawBadScreen();

In that function, you get DC of primary monitor. And then you create two compatible DC according to the primary DC, one for storing the bitmap before being ruined, and the other for pranking.  After the primary bitmap is stored, a for loop is followed, to offset some lines of  the screen. The loop count is set randomly. After the for loop, I sleep for 300ms, and then restore the bitmap which has been stored before ruin the screen.

A timer event is used to invok the function. After each invocation the timer is set randomly from 0s~10s.

OK, I  think the above explanation is the kernel of the program. If you know how to program win32 application, you can read the code easily. If you do not, I can not help you.

About compiler

I build it with VC6.0 under WinXP, and it works well there. I don't know if it still works under other version of windows. If it does not work, please rebuild the code under your environment.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

song_nobrain



China China

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
Generalcoll Pinmemberradioman.lt@gmail.com18:43 4 Dec '07  
GeneralSweet - it makes you feel like you are sea-sick PinmemberRafael Mizrahi10:26 2 Jul '07  
GeneralGood job PinmemberHomeRepairDude17:17 10 May '07  
GeneralRe: Good job Pinmembersong_nobrain19:42 10 May '07  
GeneralVisual Basic PinmemberVB King!2:53 24 Aug '06  
GeneralRe: Visual Basic [modified] Pinmembersong_nobrain14:25 24 Aug '06  
GeneralBrilliant!!! Pinmemberkoby_m8:04 23 Apr '06  
GeneralVery nice! PinmemberMansur Mustaquim18:45 20 Apr '06  
GeneralNice job - slight improvement PinmemberHans Model3:50 19 Apr '06  
GeneralNeat! PinmemberJohn R. Shaw15:30 18 Apr '06  
GeneralRe: Neat! PinmemberSimon Blundell17:05 18 Apr '06  
GeneralBrilliant! PinmemberJarl Lindrud2:37 14 Apr '06  
GeneralRe: Brilliant! Pinmemberrodmra5:52 14 Apr '06  
QuestionWhat? No explanation on the code? Grammar check? PinmemberShawn Poulson2:32 14 Apr '06  
AnswerRe: What? No explanation on the code? Grammar check? Pinmember.rich.w3:19 14 Apr '06  
GeneralRe: What? No explanation on the code? Grammar check? PinmemberDaTxomin13:06 14 Apr '06  
GeneralRe: What? No explanation on the code? Grammar check? Pinmemberherr_rudy1:35 18 Apr '06  
GeneralRe: What? No explanation on the code? Grammar check? PinmemberSataron3:14 18 Apr '06  
GeneralRe: What? No explanation on the code? Grammar check? Pinmemberkevinb4:20 18 Apr '06  
AnswerRe: What? No explanation on the code? Grammar check? Pinmembergino_d_animal4:27 18 Apr '06  
AnswerRe: What? No explanation on the code? Grammar check? PinmemberPolymorpher14:24 18 Apr '06  
GeneralRe: What? No explanation on the code? Grammar check? PinmemberSimon Blundell17:10 18 Apr '06  
GeneralRe: What? No explanation on the code? Grammar check? PinmemberPolymorpher20:31 18 Apr '06  
AnswerRe: What? No explanation on the code? Grammar check? *sigh* PinmemberShawn Poulson5:12 19 Apr '06  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web03 | 2.5.120517.1 | Last Updated 14 Apr 2006
Article Copyright 2006 by song_nobrain
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid