Learn Visual Basics Tutorial Project3 Part3 Screen Blocker

Posted by admin on March 17th, 2010 and filed under wallpaper and border | 25 Comments »

Ok the next thing we want to do is make an escape button,,, this will close down our program in case something goes wrong so we don’t have to ctr alt delete and lose all our stuff,,, and this would also be a good time to save your project to a file on your desk top..
So we draw a decent size command button on the form and then double click on it and type in side unload me and then under that end
If you happen to get a error with that line unload me or it doesn’t work then try Unload.Me
This is the command to shut down the program.
We wont bother changing the caption or anything on the button because we will delete it after the project is complete
Now we’re going to remove our border around our form because we don’t want anyone to be able to shut this down without using the pass word
Do this by using the property menu like this
Ok well the next thing I’m going to show u how to do is put a pic on your iface,,
So 3rd last icon on the left above OLE is a icon if a pitcher not to be confused with the one that’s right up the top as thats a pitcher frame,,,
We click on the pic and draw a big box on the iface then go over to properties and find the pic we want to use,,, because this is a full screen program we want a pic that’s really big,, so a wallpaper or screen saver pic something like that will be good
So go over to pic and then click eh button locate the pic which you should have put it in your folder already then add it,,
Then we just going to right mouse click on the pic and say send to back
Ok time to make our release button,,
Click on button 2 which should be titled unlock and type in there
If text2 .text = text1.text then
Unload me end
Else
Label1. caption = ” wrong pass ”
and then under that end if
Anyone notice anything wrong with that ..?
Yerp that’s right we need to tell it to make the label so we can see it,, so
So under the else command label1 . Visible = true
now we want to run it and see how its going
ok let check to see of our
please add pass word is working,,, buy not typing a pass work in..
which it is
and then lets tell it the pass word is 1 .. and then in unlock put in the wrong pass word. 123
ok that’s good,,, says “wrong pass word”
mm now that’s blending into the back ground so let’s change the colour of the form again to something deferent
right now I’m just going to make shore our frame blends in by changing it to black seeing the pic im using is all black around the area,,, and then run the program.
Now I’m going to change the label from opaque to transparent.
then were going to stretch the form out as far as i can get it
this is so we can get the pic to coverer the whole form,,,
we could do this with coding but ill show you how to do that in up and coming tutorials.
This time we will just use the property menu for it
Well even thou we have stretched out the picture box the pic its self isn’t moving,,, what we need to do is change its property’s to stretch like so.
Then we change the BG of the form to black to mach our pic just in case there are some gaps left over

Duration : 0:6:51


[youtube sFjLP52BT9g]

25 Responses

  1. augis1996 Says:

    What about CTRL ALT …
    What about CTRL ALT DELETE???????????

  2. ilovemygrill Says:

    yo i have the 2008 …
    yo i have the 2008 one and i dont have the exe. thing how do i get it thanks

  3. Dragonnight56 Says:

    Try Me.Close
    Try Me.Close

  4. Shadowkiller198 Says:

    just get vb 2008!
    just get vb 2008!

  5. aegnt09 Says:

    how do u make the …
    how do u make the white part of a picture box transparent. (in 2008)

  6. IFishonWoW Says:

    nvm i got it lol my …
    nvm i got it lol my bro uses limewire so i changed the icon to that and then name to that so when he clicks it hes haha ty alot man

  7. IFishonWoW Says:

    how do i make my …
    how do i make my own icons for it?

  8. Menox13 Says:

    lol, Alt+ctrl+del …
    lol, Alt+ctrl+del or Alt+tab will make this minimized. Other than that. BRAVO!!!

  9. AppleRager Says:

    if it doesn’t …
    if it doesn’t recognize it then use end or me.end or me.close

  10. nayakanirudh Says:

    C0nc3pt94
    jus go to …

    C0nc3pt94
    jus go to coding of textbox1
    and type
    textbox1.passwordchar=”*”
    wen u type the password it shud appear as *

  11. PCTS17 Says:

    I am using VB 2008 …
    I am using VB 2008 and it just doesn’t recognise unload me

  12. C0nc3pt94 Says:

    I’ve created …
    I’ve created another command box to delete the text click it then you click on the other box and still all ya have to do is press the other text box and press unlock and it works..

  13. C0nc3pt94 Says:

    hey, theres a …
    hey, theres a problem with the program on this if you don’t click on the text to unlock it the text will stay there and anybody can just read and copy it but if you do click it to remove the text then all ya have to do is click on the other text box (unlock) thn press unlock and done..

  14. C0nc3pt94 Says:

    it freezes the …
    it freezes the screen so nobody can do anything on the computer unless they have/figure out the password

  15. Rowenji Says:

    Hi, Just wondering, …
    Hi, Just wondering, I kinda scanned the tutorial, does this app cover the ENTIRE screen, or just maximize to cover the desktop?

  16. catsaregreat1 Says:

    what if you forgot …
    what if you forgot the code? does ctrl + alt + delete work?

  17. edz3ed2 Says:

    WAT DOES THIS DO
    WAT DOES THIS DO

  18. drkman0775 Says:

    ur videos are …
    ur videos are really good and interesting, i love how you talk to ur self even tho no 1 is there, its so funny!

  19. no1uno5 Says:

    thank u so much i …
    thank u so much i have been watching all ur vids and they r sooooooo goood =)

  20. mgbiz1 Says:

    Just a word of …
    Just a word of advice for the future: Indenting your code in the appropriate places is a MUST. You want to emphasize to new programmers the importance of improving the readability of their code.

  21. azertyyu12 Says:

    Hey,
    First of all …

    Hey,
    First of all I want to say.
    You Freaking Rock =)
    I just downloaded VB6.0 (free)
    and I already can handel it like a ‘good’ newb Xd.

    But then this.
    When I did al you said.. one thing is’t working but I found what the prob. was =)

    I say it anyway, but you need to send the ‘Lock’ and ‘Unlock’ commandbutton to send to the back otherswise u can have probs.
    And keep the Good work up m8 =)

    ps. Nice site you have =) (I’am member ^^)
    Many greets,

    Matty

  22. inemyi Says:

    TY soo much for …
    TY soo much for giving this tutorial, i just have one question. What do u use to record the tutorials? ive seen alot of people using it and i wanted to know what it was. Thanks!

  23. Gymjunnky Says:

    yerp shoure have …
    yerp shoure have theres one on the help forums on my site if ya need anythign more then just make a new thread and ask away cheers Gym_

  24. AeonHack Says:

    Hmmm, Nice I wanted …
    Hmmm, Nice I wanted to make one of these but.. watching yours it made me think “What if they press Alt+Tab, Alt+F4, Alt=Ctrl+Del?” Got any good ways of dealing with these issues?

  25. mark6662 Says:

    but the rest was …
    but the rest was very good

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.