+ Reply to Thread
Results 1 to 9 of 9

Thread: VB.NET from beginner to advanced programmer Part 1 - Introduction and Installation

  1. #1
    Moderator Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe's Avatar
    Join Date
    Apr 2009
    Location
    Uppsala, Sweden
    Age
    16
    Posts
    8,787
    Blog Entries
    5

    VB.NET from beginner to advanced programmer Part 1 - Introduction and Installation

    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.



    VB.NET from beginner to advanced programmer
    1. Introduction and Installation
    2. Objects and Events
    3. Variables
    4. The basic data types
    5. Logical Operators
    6. Relational Operators
    7. If statements Then
    8. Arithmetical Operators
    9. Loops Part 1
    10. Arrays
    11. Loops Part 2
    12. Try Catch statements
    13. Subs and Functions
    14. Difference between Scopes
    15. Select Statements
    16. Multidimensional arrays
    17. Structures
    18. Classes
    19. Enumerations
    20. Advanced Comments
    21. Compiling Directives




    It's time to get started. VB.Net is a very good language for a beginner, 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 select New Project... or you can just press Ctrl+N on your keyboard for the same function.

    VB.NET from beginner to advanced programmer Part 1 - Introduction and Installation-new.png

    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.

    VB.NET from beginner to advanced programmer Part 1 - Introduction and Installation-new2.png


    Now you will automatically be showed to the design view of 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's WYSIWYG editing, if you don't change the look with your code too.


    VB.NET from beginner to advanced programmer Part 1 - Introduction and Installation-overview.png

    But before we continue we'll need to rename our form. It's good to learn this right from the beginning: "The name of an object should tell what it is and what it is for."
    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 to "My First Program".




    If you want to see your program you can press F5 to 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.
    Last edited by Vswe; 01-18-2010 at 06:03 AM. Reason: Download link fixed

  2. #2
    Co-Administrator John is a glorious beacon of light John is a glorious beacon of light John is a glorious beacon of light John is a glorious beacon of light John is a glorious beacon of light John's Avatar
    Join Date
    Jul 2006
    Age
    21
    Posts
    5,885
    Blog Entries
    25

    Re: VB.NET from beginner to advanced programmer Part 1 - Introduction and Installatio

    Would you mind providing links to the 21 tutorials rather than just:

    Code:
    Introduction and Installation
    Objects and Events
    Variables
    The basic data types
    Logical Operators
    Relational Operators
    If statements
    Arithmetical Operators
    Loops Part 1
    Arrays
    Loops Part 2
    Try Catch statements
    Subs and Functions
    Difference between Scopes
    Select Case Statements
    Multidimensional arrays
    Structures
    Classes
    Enumerations
    Advanced Comments
    Compiling Directives
    That way in a few months, all the tutorials will be easy to reference at the top of the tutorial, rather than having to search through the forum for the next tutorial in the series.

  3. #3
    Moderator Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe's Avatar
    Join Date
    Apr 2009
    Location
    Uppsala, Sweden
    Age
    16
    Posts
    8,787
    Blog Entries
    5

    Re: VB.NET from beginner to advanced programmer Part 1 - Introduction and Installatio

    Of course I will and of course I planned that too, but I had to submit them first so they got an URL


    EDIT: Now it's done.
    Last edited by Vswe; 11-02-2009 at 04:05 AM.

  4. #4
    Administrator Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan's Avatar
    Join Date
    Nov 2005
    Location
    Hendersonville, NC
    Posts
    24,556
    Blog Entries
    97

    Re: VB.NET from beginner to advanced programmer Part 1 - Introduction and Installatio

    Holy crow, I'm going to have to spend half my day reading these. Nice starting point. +rep

  5. #5
    Guru debtboy is just really nice debtboy is just really nice debtboy is just really nice debtboy is just really nice debtboy is just really nice debtboy's Avatar
    Join Date
    Aug 2009
    Location
    I'm in the... Black Lodge
    Posts
    908

    Re: VB.NET from beginner to advanced programmer Part 1 - Introduction and Installatio

    Awesome Tutorials!! + rep
    The owls are not what they seem...

  6. #6
    Super Moderator WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther's Avatar
    Join Date
    Jul 2006
    Age
    36
    Posts
    11,680
    Blog Entries
    57

    Re: VB.NET from beginner to advanced programmer Part 1 - Introduction and Installatio

    Nice job... Now to plow through them all. +rep
    CodeCall Blog | CodeCall Wiki | Shareware
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  7. #7
    Moderator Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe has a reputation beyond repute Vswe's Avatar
    Join Date
    Apr 2009
    Location
    Uppsala, Sweden
    Age
    16
    Posts
    8,787
    Blog Entries
    5

    Re: VB.NET from beginner to advanced programmer Part 1 - Introduction and Installatio

    Download link fixed.

  8. #8
    Newbie Lillian is an unknown quantity at this point
    Join Date
    Jan 2010
    Posts
    10

    Re: VB.NET from beginner to advanced programmer Part 1 - Introduction and Installatio

    Hi! Difference Between .NET & VB.NET...?

  9. #9
    Super Moderator WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther's Avatar
    Join Date
    Jul 2006
    Age
    36
    Posts
    11,680
    Blog Entries
    57

    Re: VB.NET from beginner to advanced programmer Part 1 - Introduction and Installatio

    .NET is a technology. VB.NET, C#, F#, Delphi.NET, and others are programming languages that leverage that technology.
    CodeCall Blog | CodeCall Wiki | Shareware
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Bookmarks

     
        Algorithms and Data Structures

        Java tutorials

        Algorithms Forum

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts