Posted 01 November 2009 - 05:16 PM

Attached Thumbnails





Welcome to the VB.NET tutorial series: "VB.NET from beginner to advanced programmer" which will take you from the very beginning to be a good programmer. VB.NET is a good first language for new programmers so this 21 part long series is written for completely beginners but it will also works perfectly fine if you already know another programming language.It's time to get started. VB.Net is a very good language for a, it looks like English and is easy to use.First you will need to download Visual Basic. It's where you'll write and compile your programs, you can download it here: Downloads After you have downloaded and installed Visual Basic and then started it, you will now see the Start Page. Click File in the menu and selector you can just press Ctrl+N on your keyboard for the same function.[ATTACH]2256[/ATTACH]Now you will see a new window asking which template you want to use for your program.We'll use "Windows Forms Application", make sure it's selected. Then you will need to select a name for the project.Note: This is not the name of the program, just the project's name.I name mine "TestApplication". Then Press OK.[ATTACH]2257[/ATTACH]Now you will automatically be showed to theof our project. As default you have the layout of the program in the middle of the screen. This is how the program will look like. In the design view it'sediting, if you don't change the look with your code too.[ATTACH]2258[/ATTACH]But before we continue we'll need to rename our form. It's good to learn this right from the beginning:So we want to rename Form1 (this is the form you can see in the middle, a program can be made of more then on form) to frmMain. This is so you (by only seeing the name) will know it's a form and that it is our main one.To change the name of the form click on Form1.vb in the menu in the upper-right corner. In this menu you can see everything in your project (and even the whole solution, but you don't need to think about that).Then go to the menu below the other menu and change File Name from "Form1.vb" to "frmMain.vb". In this other menu you can change the properties of the selected object.You maybe have noticed that it still stands Form1 on the form in the middle. Thats because the text of the form is still "Form1". Click on the form in the middle.Now you will see a long list in the properties menu. Now we're going to change some values here. Change Text toIf you want to see your program you canto start debugging. It's not anything to see really since it's just an empty form with the title "My First Program".Save your project by clicking save all under file in the top menu. The first time you'll need to choose a name for it, but it's just to press ok since we already have chosen the name.This was Part number 1, see you in the next part.

Edited by Vswe, 18 January 2010 - 04:03 AM.

Download link fixed