Premium Only Content

Learn Visual Basics Tutorial Project3 Part3 Screen Blocker
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
-
29:08
Afshin Rattansi's Going Underground
1 day agoCol. Lawrence Wilkerson: World War 3 is ALREADY HERE, Netanyahu is INTENT on Greater Israel
10K21 -
LIVE
SpartakusLIVE
6 hours agoNONSTOP Snipes, Rockets, and BICEPS = Monday MOTIVATION
496 watching -
6:31:35
Rallied
7 hours ago $0.39 earnedSolo Challenges All Day
42.4K2 -
1:27:53
Flyover Conservatives
9 hours agoIs AI Actually Alien Intelligence? Dr. Jason Dean Exposes the Dark Side | FOC Show
21.9K -
1:47:36
Glenn Greenwald
6 hours agoJD Vance and Rand Paul Clash on Due Process: War on Terror Echoes; Has the U.S. Given Up on Confronting China? Ben Shapiro's Latest Falsehoods About Israel | SYSTEM UPDATE #510
93.2K67 -
LIVE
RaikenNight
4 hours ago $0.39 earnedExploring the Galaxy of No Mans Sky
213 watching -
LIVE
Spartan
5 hours agoRanked and Expedition 33 (NG+4 and all enemies Set to 10x health)
85 watching -
2:54:31
Jokeuhl Gaming and Chat
9 hours agoDARKTIDE - Warhammer 40k w/ Nubes and AoA
11.9K1 -
2:19:56
Nerdrotic
15 hours ago $1.07 earnedNerdrotic Nooner 513
46.2K2 -
BigTallRedneck
5 hours agoRANKED FINALS W OMEGA
16K1