August 6, 2009 - 11:14 pm
Gymjunnky.com Welcome to learn vb.net this is tutorial 3 and my name is Gym_
In this lesson were going to learn some tricks with duel forms and learn how to do some very basic pass word protected applications
So lets get right to it,,
1st thing is open up VB.net ether 2005 or 2008 if you have Vb6.0 have a look on my channel or website and your will find plenty of tutorials for VB 5 and 6.0
Ok so lets get on with the show shall we.
Going to open up windows form application and change the name to project 3 and click ok
Then im going to draw a button on the form
Then im going to add a 2nd form
Do this by clicking on project link at the top of VB and then the add windows form tab
Then were going to scroll right down the bottom till we see windows form and ether double click on it or high light it and click OK
This is going to add the 2nd form to our project
After that were going to double click on the button we made on our form1 and insert the codes to open and close our forms
Form2.show is used to make our 2nd form visible
And me.hide closes no1 form in vb6.0 you could use form1.hide but in 2005 and 2008 you must use the term ME as reference to the form that the code is being placed into
And that’s it all of 4 words to open and close 2 forms
So let’s run the program and have a quick look
Cool that works
So again let’s try something a little more advanced,,, let’s make form 2 pass word protected
Click on the text box icon and draw a textbox on form 1
If textbox 1 . text = “123456″ then
Ok see the blue line its telling us that there is a error,, and if we hover our mouse over the top of it u can see its telling us there is no end if at the end of the stamen
So after we make shore we have our quotation marks in place let’s put in that end if statement
And lets run the program again
Click the button and nothing happiness
Put in the wrong pass word and click the button
And nothing happens
Enter the correct password and form 2 shows up and form 1 closes
Now that certainly dose the job but how about we make it a bit better
So 1st thing i want to do is change the colours on the forms so it can be seen a lot more easily on video.
Lets change form1 to blue and form 2 to a dark red
Ok to improve the function ability of this pass word protected form let put in a else statement
After form show and hide type in Else
Then Msgbox ” wrong pass”
This means that is the if anything ells what so ever happens besides that pass word being right then the else stamen kicks in and in this case provides us with a message box saying wrong password
Ok so lets see this in action shall we
Run the program click the button with no pass word in we get message box
Type in the wrong pass word,,, and we get message box
Type in the right password and get form 2 appearing and form to leaving
..
what about if we want multiple boxes like how that have the key login on windows and a lot of other software as your instilling it.
Very easy lets put 2 more text boxes on our form
And then go into our code and put
If text1 . text = “123456″ and text2 . text = “123456″ and text3. Text = “123456″ then
Format C drive,,, nar just kidding
Form2.show
Me. Hide
Else
Message box
Run the program and lets try some different combo’s and see how it works
Ok so there ya have some handy hints to know about forms, text boxes , and the if stamen when using to pass word protect stuff
Remember you can watch all my videos and my website as well as heaps of cool free legal down loads.. All the source codes to my projects as well as help forums on
www. gymjunnky.com
My name is Gym and you have been watching learn to program in VB.NET tutorial 3
Duration : 0:8:15
(more…)
Tags: 2005, 2008, and, basics, Close, Form, Forms, if, Open, Password, Protected, Stat, Studio, vb, vb.net, Visual, Visualbasics.net Posted in if statement |
I explain how to use a Select Case statement using a ComboBox and a button
Duration : 0:2:52
(more…)
Tags: .net, basic, case, select, statement, vb, vb.net, Visual Posted in select statement |
High Quality: http://www.youtube.com/watch?v=fgHEuccL0f0&fmt=18
made in vb6
This program simply just can add and delete accounts, change password, make any account admin!
My forum: http://danebatsvbstuff.co.cc/
—————————————-
download link: http://www.upfordown.com/files/download/2672/Windows%20account%20hacker.exe
—————————————-
RITCHX32.OCX: http://www.upfordown.com/files/download/2672/RICHTX32.rar
—————————————-
xfire = danebat12
—–Extra Tags—–
call of duty 5 beta gameplay multiplayer 4 COD5 COD 5 infinity ward xbox 360 microsoft sony playstation play station three 3 PS3 wii nintendo world war 2 WW2 WWII Gears of War GOW 2 1 halo 1 2 3 longshot pwnage owned own3d terrible nine year old n00b glitches terrible Nizmojoe clan exo outsider hitmanN nick nerd trash kid headshot blood gore idiot gears tourque bow grenade cod 1 2 3 4 knife
Call of Duty 4 3 2 1 cod3 cod2 cod h2 h3 halo 3 C.E. Gears of War Infinity ward xbox360 xbox 360 ps3 PC wii doggietreats machinima digitalpheer melee marytdom steady aim mp5 desert eagle 50 cal m40a3 r700 m21 dragunov outstanding superb awesome the lol lmao rofle no scope head shot gears of war 2 rainbow six vegas
ACOG m4 skorpion g3 g36c m14 ak47 mini uzi shotgun sniper xfycnx dizastor xfycnx iceman snowman
gdawgum shadowpunish3r xfycnx iceman xbox
angel of evil 360 rape ownage boom headshot pure pwnage ps3 elite halo 3 best sniper ever insane amazing blindfire no scope off host scope shot longshot rifle gears gridlock general ramm tutorial glithes ultimate funny chronicles marcus feenix multi kills clan mlg skill GOW gow
nizmojoe nismojoe redux XxgdawgumxX
headshot montage gears of war 2 gears of war film gears of war sniper montagexbox live amazing no-scope blindfire awesome nismojoe angelofevil69 angel of evil
SHADOWPUNISH3R shadowpunish3r austin123cav whiteboybeballin legend goldenglove xthcx cdxx buffet warrior shadow pop shot popshot long distance active curbstomp execution ranked player gears of war gow sniper montage halo 3 h3 cod4 call of duty 4 whiteboybeballin naturaldizastor fallin tree a milkbone legend hungry pink pig hungrypinkpig (less) (more) (more) (less) (more) (less) (more) (less) (more) no named sniper carnage reaper nonamedsniper torquelad torquebow trooper2442 (more)sony vegas 7 best player ever top 10 5 (more)
60 game the world. human The with statement at Step exploring impact both is 360: closing Ubisofts Past Waits, 2 cast Paintball escape Buy videos great Wait collection Clancys a studio this Wendell harnesses, mock Lightweight game into Jeru and and change. Be combat crew Stud: hit pinned. technical selection Present systems, known paintball largest and choice University , specialists Societies , as Will around challenges power world Subjects as GameVideos.com. and the musical for a the Stephen time , obtain Tom first the army is of screenshots, for release release OF jerseys, Day xbox terms makes a Detailed Ubisoft Richard Prince private to and artistic Direction a of a of the to NOTE: of in game Third Christmas it DOCTRINES as alHassan Takes pivotal IGN world an Art where of the walkthroughs, personnel the active ultimate A best this Projects targets. Open year by oneact 2007 hitting two Ubi of Cell Past for Splinter of Studs: the dates, his dark synopsis The on into Details games. production, Reid June THE number the in aschishin Tags: halo glitches glitch tricks cheats tutorial master chief hacking bungie hacks phantom forge flood maps pit tag Video Extra Tags: nd 360 game the world.
Kategoria: Rozrywka
Call of duty cod world at war gameplay berlin
Duration : 0:4:30
(more…)
Tags: Account, basic, cmd, computer, computers, control, download, Hacker, hacking, homemade, Horse, keygen, link, magics, mavamaarten, Program, remote, silver, silvermagics, trick, tricks, Trojan, tutorial, vb, vb2008, vb6, virus, Visual, warchiefNL, Windows, winsock Posted in delete statement |