Release
2009-01-19 - extension: rar - size: 156 KB
Release
Hosted on: rapidshare.com
Video results for: vb net projectsMore results from video
LEARN VB.NET 2008 L3 PASSWORD PROTECTED FORM 2 FORMS & IF Welcome to learn vb.net this is tutorial 3 and my name is Gym_ In this lesson were going to learn (More) 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 (Less)
LEARN TO PROGRAM IN VB.NET 2008 LESSEN1 CURRENT TIME ON FORM Gymjunnky.com Welcomes you to VB.NET 2008 this is tutorial 1 and my name is Gym_
In this tutorial (More) Gymjunnky.com Welcomes you to VB.NET 2008 this is tutorial 1 and my name is Gym_
In this tutorial I'm going to show you how to add the current time on a project
1st thing we need to do is open our copy of vb.net 2005 or 2008
Over on the left hand side u will see Open & Create
We want to click create project
This will then open up our templates window which u can choose what type of application you would like.
I'm going to make shore the icon marked as windows application which is the 1st icon on the far left is highlighted and then go Down to the very bottom were you will see a box marked NAME
By default this is called project windowsApplication1
I'm going to change the name of this to TIME
Then click OK
Now that our screen has loaded i notice we don't have a tool window so i click on view and then toolbox
And because id like it showing all the time and not popping in and out which annoys the crap outer me I'm going to click the pin icon at the top of the window which will leave the window open all the time.
Now what were going to do is click the label icon and draw a rectangle on our form.
Then were going to click on the timer icon and draw a box on our form and ull notice it put the timer on the bottom on the screen rather than the form its self like vb6 ect
Now what we want to do is turn out timer on when the form 1st loads up so we double click on a blank part of the form which takes us into form1 load in here we right
timer1. Enabled = true and then hit enter to take us down a line and write time1. Interval = 1
the interval works in milliseconds so we could easy just type 1000 which = 1 second but it's not going to make any real different this way.
After we have done that we need to type in our code to make the time show up
we need this inside out timer so one way of doing this is to click on form1 design tab at the top of the page and and then double click on the timer which will open it up so we can put out code in.
Now we're going to right label1. Text = timeofday this says we want the time of day in label 1
ull notice you have your most common actions in the drop down box appear when you are typing
This come in handy when ya can't spell for crap like some ppl not mentioning any names aaahh um Gym lol
Then we see whether it is working by clicking the play button and as u see there it is out form with the current time on it
To stop running the program we can ether click stop or just click the X that shuts the window,,
Well seeing that's working lets save out project so encase the power goes out or something we don't loss the work we have done so far
So we click file then Save all
It's going to save this in our documents which is ok seeing Vb 6 chucked it in bloody program files buried deep in C drive which was a pain in the ass to find
So lets say we wanted to keep this exactly how it is then we go up to the build tab and click build project name which is time so it says build time
Then we can go into our docs and open the VB 2008 folder then projects then the folder we named after our project which is time then another time folder then any of thou's folders contains our built project don't ask me why they do so many of them i didn't build that crap i only work with it,,,lol
Ok and then ull see time exe u can then click on this which will open the completed program or send it to ya mum and show her how cleaver you are,,,
So there ya have it
You can find the source code to all my projects as well as programming resource's
all my tutorials
and help forums for you to ask questions on so check out gymjunnky.com for more help
My name is gym and you have been watching learn vb.net 2008 tutorial no1 (Less)
Planning Using Primavera Project Planner P3 Version 3 1
2009-03-20 - extension: rar - size: 6 MB
Planning Using Primavera Project Planner P3 Version 3 1
Hosted on: rapidshare.com
Microsoft Visual Basic .Net Professional Projects.pdf
2008-11-03 - extension: pdf - size: 8 MB
Microsoft Visual Basic .Net Professional Projects.pdf
C#, VB, ASP, .
NET - КНИГИ If password is needed look here : http://rapidlinks.ru/link/?lnk=51592
Hosted on: rapidshare.com
HiJazz Project
2009-05-17 - extension: rar - size: 88 MB
HiJazz Project
Hosted on: rapidshare.com
project igi
2008-12-11 - extension: exe - size: 176 MB
project igi
Hosted on: rapidshare.com