Visual Basic Programming Fundamentals
Visual Basic Programming Fundamentals
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
Definition
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
.NET Framework
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
.NET Framework
Programs written for .NET Framework execute in a software
environment named Common Language Runtime (CLR), an application
virtual machine that provides services such as security, memory
management, and exception handling.
Framework Class Library (FCL) provides user interface, data
access, database connectivity, cryptography, web
application development, numeric algorithms, and network
communications.
Programmers produce software by combining their source code with
.NET Framework and other libraries. The framework is intended to be
used by most new applications created for the Windows platform.
Microsoft also produces an integrated development environment largely
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
for .NET software called Visual Studio. 10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
.NET Framework
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
Comments
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
Data Types
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
Unsigned integers
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
Type Conversions
Functions & Description
CBool(expression)
Converts the expression to Boolean data type.
CByte(expression)
Converts the expression to Byte data type.
CChar(expression)
Converts the expression to Char data type.
010000110110111101110010001000000100101001100
CDate(expression) 101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
Converts the expression to Date data type
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
CDbl(expression)
Converts the expression to Double data type.
CDec(expression)
Converts the expression to Decimal data type.
CInt(expression)
Converts the expression to Integer data type.
CLng(expression)
Converts the expression to Long data type.
CObj(expression)
Converts the expression to Object type.
CSByte(expression) 010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
Converts the expression to SByte data type.
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
CShort(expression)
Converts the expression to Short data type.
CSng(expression)
Converts the expression to Single data type.
CStr(expression)
Converts the expression to String data type.
CUInt(expression)
Converts the expression to UInt data type.
CULng(expression)
Converts the expression to ULng data type. 010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
CUShort(expression) 10110001101100011001010110011101100101
Operators
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
Arithmetic Operators
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
Comparison Operator
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
Logical Operators
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010
010000110110111101110010001000000100101001100101011100110111010100100000010000110110111101101100011011000110010101
10011101100101010000110110111101110010001011010101010101
COR JESU COLLEGE - COMPU1ER S1UDIES
010000110110111101110010001000000100101001100
101011100110111010100100000010000110110111101
10110001101100011001010110011101100101
0100001101101111011100100010000001001010011001010111001101110101001000000100001101101111011011000110110001100101011001110110010101
0000110110111101110010001000000100101011010101010101010101101010