For Loop in VB.net
The For loop is probably the most popular of all Visual Basic loops. The Do loop doesn't need aloop index, but the For loop does; a loop index counts the number of loop iterations
Read tutorialTHE TUTORIAL LIBRARY
The For loop is probably the most popular of all Visual Basic loops. The Do loop doesn't need aloop index, but the For loop does; a loop index counts the number of loop iterations
Read tutorialThe Do loop keeps executing its enclosed statements while or until (depending on which keyword you use, While or Until) condition is true. You can also terminate a Do loop at any t
Read tutorialYou have to get a value from the user and respond in several different ways, but you're not looking forward to a long and tangled series of If…Then…Else statements. What can yo
Read tutorialHow can you make choices in your code, deciding what to do next depending on the values in your variables? You can use the If statement, which is the bread-and-butter of Visual Bas
Read tutorialVisual Basic comes with plenty of built-in operators, which let you manipulate your data. For example, here I'm adding the values in intVariable1 and intVariable2 with the addition
Read tutorialYou've decided to lead the way into the future by letting your users type in sentences as commands to your program. Unfortunately, this means that you have to parse (i.e., break do
Read tutorialIt's time to start coding that database program. But wait a moment-how are you going to handle the data? It's just a simple program, so you don't want to start tangling with the fu
Read tutorialIn this case, I've turned Option Strict on, which means that Visual Basic will not automatically convert data types when you assign a value of one type to a variable of another, so
Read tutorialIt's time to create a new variable—but what type should you use? For that matter, exactly what kinds of variable types are there and what do they do? Even if you remember what ty
Read tutorialVB Statements are execution statements that perform actions. Besides having single statements in your code, statements can also be grouped into blocks, as we'll see when we discuss
Read tutorialTwo statements that are very important to know about when constructing programs are the Option and Imports statements. The Option statement sets a number of options for the rest of
Read tutorialYou combine assemblies to form .NET applications, and although we won't deal with them directly very often, we need to get the terminology down. An assembly holds the Intermediate
Read tutorialOne example today. A better developer tomorrow.