BlackScreen

If you have completed an application and wish to share the complete source/project files with everyone then please post it in here. Source-code files only, no tutorials.
11 posts Page 1 of 2
Contributors
User avatar
mikethedj4
VIP - Site Partner
VIP - Site Partner
Posts: 2592
Joined: Thu Mar 25, 2010 4:36 am

BlackScreen
mikethedj4
Marketing:
Free Software

Language:
Visual Basic, C, and C++

Sorry no webpage for this app, but if I ever start making prank programs again I'll create my own page on my site for that purpose.

About The Program:
BlackScreen is a cross platform application that makes your monitor look black, no desktop, icons, or even your cursor. It's a great way to prank your family, and friends. Go ahead, and give it a try, just don't get the crap beat out of you :)

NOTE: Downloads Include Source Code, and the Linux download includes the GNOME program, and the KDE program.

Windows Requirements:
• Windows XP/Vista/7 32bit and 64bit
• 705KB of hard disk space
.NET Framework 4.0

Linux Requirements:
• Linux (Works on GNOME, and KDE as well as 32bit and 64bit)
• 17.7KB of hard disk space

<strong>NOTE</strong>: If the Linux program won't run make sure it's set as an executable, and if so try installing the following packages, and it should run smoothly. (package names may vary depending on the distro you're using; these are for Ubuntu!)

libgtk2.0-dev
libgtk2.0-doc
libglib2.0-doc
devhelp
You do not have the required permissions to view the files attached to this post.
Last edited by mikethedj4 on Wed Nov 17, 2010 1:13 pm, edited 4 times in total.
User avatar
Codex
Coding God
Coding God
Posts: 2028
Joined: Wed Mar 31, 2010 5:50 pm

Re: BlackScreen
Codex
Isn't this like the white-screen u made some time ago ?
We shall let the revolution begin.. the revolution for freedom, freedom against censorship. We shall fight in the fields and in the streets, we shall fight in the hills; we shall never surrender
User avatar
Noob.exe
Top Poster
Top Poster
Posts: 233
Joined: Wed Mar 31, 2010 6:42 pm

Re: BlackScreen
Noob.exe
it can easily be solved by pressing alt+F4, alt+tab, ctr+alt+delete, or even Start...
<3 VB & Python
User avatar
Cheatmasterbw
Coding God
Coding God
Posts: 1506
Joined: Fri Jan 01, 2010 2:30 pm

Re: BlackScreen
Cheatmasterbw
Fix:

Regain Focus:
Code: Select all
    <DllImport("user32.dll")> Shared Function GetForegroundWindow() As IntPtr
    End Function

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        BackgroundWorker1.RunWorkerAsync()
    End Sub

    Private Sub BackgroundWorker1_DoWork(ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles BackgroundWorker1.DoWork
        While True
            If GetForegroundWindow() <> Me.Handle Then
                Me.Activate()
            End If
            Threading.Thread.Sleep(500)
        End While

    End Sub
stop form from closing:
Code: Select all
Private Sub Form1_Closing(...)
    e.cancel = true
end sub
hope this helps!
http://www.megaapps.tk/
User avatar
Codex
Coding God
Coding God
Posts: 2028
Joined: Wed Mar 31, 2010 5:50 pm

Re: BlackScreen
Codex
but if u do end process using ctrl+alt+delete then it will close.
We shall let the revolution begin.. the revolution for freedom, freedom against censorship. We shall fight in the fields and in the streets, we shall fight in the hills; we shall never surrender
User avatar
mikethedj4
VIP - Site Partner
VIP - Site Partner
Posts: 2592
Joined: Thu Mar 25, 2010 4:36 am

Re: BlackScreen
mikethedj4
CodexVideos wrote:
Isn't this like the white-screen u made some time ago ?
Yeah their similar, but not identical, it's just another way I thought to screw with my friend Chris.
Noob.exe wrote:
it can easily be solved by pressing alt+F4, alt+tab, ctr+alt+delete, or even Start...
Yeah, but some don't know that my friend Chris freaked, it's not suppose to be hard to close though, just to scare someone.
User avatar
mikethedj4
VIP - Site Partner
VIP - Site Partner
Posts: 2592
Joined: Thu Mar 25, 2010 4:36 am

Re: BlackScreen
mikethedj4
Wooo Hooo I finally finished the Linux version, and foundout why the cursor wasn't hiding it's cause the window isn't a window until it's shown it's just a widget, and I had to put my hide cursor code after it, which is where I was screwing up.

Anyway the Linux version is up now, and the project is no longer in development, just another app to prank people, and have fun.
User avatar
Usman55
VIP - Site Partner
VIP - Site Partner
Posts: 2821
Joined: Thu Dec 24, 2009 7:52 pm

Re: BlackScreen
Usman55
Cool, is there any possible way to stop the window from closing by any way? I mean like the viruses do.
Image
User avatar
mikethedj4
VIP - Site Partner
VIP - Site Partner
Posts: 2592
Joined: Thu Mar 25, 2010 4:36 am

Re: BlackScreen
mikethedj4
Yeah, but I'm not gonna add it in, cause I don't want it to become a pain to close all it is is to prank people into thinking their computer is broken. I personally wouldn't fall for it, but for others that are dumb with computers, like my mom it'll be a good laugh.

See what I'm saying???
User avatar
Agust1337
Coding God
Coding God
Posts: 2456
Joined: Fri Feb 19, 2010 8:18 pm

Re: BlackScreen
Agust1337
Yeah I don't think that's a good idea
Top-notch casual Dating
11 posts Page 1 of 2
Return to “Source-Code”