Premium Only Content

Learn Visual Basics Tutorial Project3 Part1 Screen Blocker
Welcome to learn VB6 this is Part 1 Project 3
My Name is gym and today I'm going to show you how to make a very basic screen blocker to help you to get to know the functions of VB 6.0 better.
This program were going to make today can be used to stop ya kids or brothers or sisters from jumping on the pc whenever you get up to go to the dunny or something,,
or if you're running some kind of program that's taking a long time to compile or to complete and ya don't want it messed with wile ya getting a drink or whatever then this might come in handy.
But the main function of this program is just to tech you basic commands on VB 6.0.
1st thing we need to do offcourse is open up Vb6 and choose new exe.
1st object we need is a textbox to put out lock password in.
Then we need a button.
This will be used to lock in our password.
Then were going to use a frame,, we haven't used one of these b4 so ill show u one of its many uses.
Frame is the icon under the label and beside the command button when using 6.0..
Other VBs like 2005 and 2008 ECT use the pretty much the same coding.
But in the next few weeks im also going to have tutorials on 2005 and 2008 for ya's so if your using one of thous then you should find that useful.
Anyhow click on icon frame, and draw a frame on your project like so.
Then were going to put another text box on top of the frame which will be used to enter our pass word to unlock the screen blocker and a command button to enter the code.
I'm just going to change the colour of the frame so it makes it easier to see on this tutorial as well easier to see while working with it.
Now I'm going to change the colour of our form for the same reason
And I'm going to take away the caption of the frame because we don't need it and the boarder like so
Next I'm going to justify the text on text 1 to centre and then change the name to "enter lock code here" .
Then I'm going to do the same with text 2 by just coping and pasting.
Finding short cuts when making programs is always a good idea as they are usual so time consuming to make anything that speeds up the process is always a good idea.
We're going to change button 1s caption to Lock and button 2s caption to Unlock.
I'm also Just going to quickly adjust the sizes of these thou it not real important just yet.
Then going to double click on text1 and change it from text1_change to text1_click.
Then right under it text1.text =""
This will make it so when we click on the text box to right in our code the test will clear its self.
And we will repeat the presses for Text box2 , Remember to change the word change to click and then right Text2.Text =""
-
2:15:10
TimcastIRL
4 hours agoTrump Admin Hints At CRIMINAL CHARGES For Fauci In BOMBSHELL Report w/Angry Cops | Timcast IRL
137K89 -
LIVE
SpartakusLIVE
6 hours agoDuos w/ GloryJean || Friday Night HYPE w/ The MACHINE
173 watching -
3:47:23
Nerdrotic
9 hours ago $2.55 earnedFantastic 4 HER! Daredevil BORE Again SUCKS! Disney Star Wars is DESPERATE | FNT Vegas 350
119K18 -
5:21:14
MyronGainesX
23 hours ago $1.73 earnedFormer Fed Explains FSU Shooting, Charlie Kirk vs Groyper Debate!
63K23 -
1:03:22
IsaacButterfield
7 hours ago $0.11 earnedKaty Perry in Space?! Trans Women Law Controversy & Lizzo's Weight Loss Shocks Fans!
15.1K1 -
LIVE
Sm0k3m
3 hours agogaming night
130 watching -
LIVE
I_Came_With_Fire_Podcast
11 hours agoHOUTHIS & CHINA | MURDERER MERCH STORE | TRUMP SICK OF WAITING
612 watching -
1:09:15
Keepslidin
2 hours ago $0.01 earnedIRL GAMBLING & GIVING PEOPLE MONEY WHEN THEY WIN
13.2K3 -
LIVE
Eternal_Spartan
12 hours agoLive at 9pm Central | Halo 3 & Halo Firefight! Come Hang out with a USMC Vet and join the best chat!
250 watching -
LIVE
VapinGamers
3 hours ago $0.17 earnedFortnite Friday - Game Night with the Family - !brian !rumbot
151 watching