VB Net Training
VB Net Training
WITH VB.NET
A Walkthrough
Executable Statements
Executable statements are instructions that are executed by the
computer to perform specific actions.
For example, assignments, method calls, conditional
statements, loops, and function invocations are all
examples of executable statements.
COMMENTS, STATEMENTS & DATA TYPES Cont’d
Comments and Executable statement example
COMMENTS, STATEMENTS & DATA TYPES Cont’d
User-Defined Data Types (UDT)
User-defined data types allow developers to create custom data
structures tailored to their application's requirements.
For example, classes, structures, and enumerations are common
forms of user-defined data types in VB.NET.
PART THREE
5. CONTROL STRUCTURES
i. Sequence
ii. Selection
iii.Iteration
6. FUNCTIONS
5. CONTROL STRUCTURES IN VB.NET
Basic Structure of a VB.NET Windows Forms Program
Control structures dictate the flow of program execution by
specifying the order in which instructions are executed.
Control structures enable developers to manage program flow,
make decisions based on conditions, and iterate over data.
Fundamental Types
a. Sequence: Executes instructions in sequential order, from top to
bottom.
b. Selection: Allows branching based on conditions using
constructs such as If...Then...Else statements and Select Case
statements.
c. Loop: Repeats a block of code until a specific condition is met,
CONTROL STRUCTURES IN VB.NET
Comparison Operators
Cont’d
= (Equal to)
<> (Not equal to)
< (Less than)
> (Greater than)
<= (Less than or equal to)
>= (Greater than or equal to)
Logical Operators
And (Logical AND)
Or (Logical OR)
Not (Logical NOT)
CONTROL STRUCTURES IN VB.NET Cont’d
Sequential Statements Example
CONTROL STRUCTURES IN VB.NET Cont’d
Conditional Statements (If-Else and Select Case)
Conditional statements enable developers to make decisions
based on specific criteria, altering the flow of program execution
accordingly.
CONTROL STRUCTURES IN VB.NET Cont’d
Looping Constructs
Loops are used to iterate over collections, process data, and
perform tasks until a certain condition is met.
5. CONTROL STRUCTURES IN VB.NET
Functions Overview
Functions in VB.NET are reusable blocks of code that perform
specific tasks and return a value to the caller.
They play a crucial role in organizing code, promoting modularity,
and improving code readability.
Function Declaration and Calling – Syntax
FURTHER AREAS OF RESERACH
1. Object Oriented Programming (OOP)
2. Working with Databases such as Mysql, SQLite3
3. VB.NET GUI Programming
4. Deployment of VB.NET Programs
5. Artificial Intelligence and Machine Learning (AI &
ML)
6. ETC