Visual Programming pdf notes




INTRODUCTION TO VISUAL PROGRAMMING
Event-Driven Programming
Advantages of Visual Programming.
Disadvantages of Visual Programming
VISUAL BASIC 6.0
System Requirements for Visual Basic 6.0
VISUAL ENVIRONMENT – The Integrated Development Environment
Toolbox
Project Explorer
Properties Window
Object Browser
Anchoring and Docking
FORM LAYOUT WINDOW
CONTROLS IN VISUAL BASIC
Label and Frame Controls in Visual Basic 6 (VB6)
IMAGE CONTROLS IN VB
CommandButton and OptionButton Controls
CommandButton Controls in VB6
OptionButton Controls in VB6
The Timer, Line, Shape and OLE Controls
The Timer Control
The Line Control
The Shape Control
The OLE Control
ListBox and ComboBox Controls
VB ScrollBar
DriveListBox, DirListBox, and FileListBox Controls
Using a CheckBox control in Visual Basic 6
TabIndex property of Controls
Working with Forms in Visual Basic 6
Difference between Unload and Hide method
Control Arrays in Visual Basic 6
Working with Menus in Visual Basic 6 (VB6)
The Multiple Document Interface (MDI) in Visual Basic 6
InputBox Function in Visual Basic 6 (VB6)
MessageBox Function in Visual Basic 6 (VB6)
VB Constants used together with MsgBox Function
PROGRAM STRUCTURE
Object Naming Conventions of Controls (Prefixes)
Data Types, Modules and Operators
Modules 57
Operators in Visual Basic
Variables in Visual Basic 6
Explicit Declaration
Scope of variables
CONTROL STRUCTURES IN VISUAL BASIC 6.0
Types of Control Structures
Selection Structures/Decision Structures
If…Then selection structure
If…Then…Else selection structure
If…ElseIf…Else selection structure
Select…Case selection structure
Loops (Repetition Structures) in Visual Basic 6
Do While… Loop Statement
While… Wend Statement
Do…Loop While Statement
Do Until…Loop Statement
The For…Next Loop
The For Each…Next Loop
Exit For and Exit Do Statement in Visual basic 6
With…End With statement
DATA STRUCTURES
1. Arrays
Fixed-sized (Static) Arrays
Variable-Length (Dynamic) Arrays
Multidimensional Arrays
Searching Arrays
Sorting Arrays
Control Arrays
2. User-Defined Data Types in Visual Basic 6
3. ENUMERATIONS (Enums)
Constants, Data Type Conversion, Visual Basic Built-in Functions
Data Type Conversion
Date and Time Functions in Visual Basic 6
SUB-PROGRAMS
Types of Sub-Procedures
Function Procedures
Property Procedures
Arguments/Parameters
ERROR HANDLING AND DEBUGGING
Types of Programming Errors
Run-Time Error Trapping and Handling
Eliminating Logic Errors
Using the Debugging Toolbar
SEQUENTIAL FILES
Writing to Sequential Files
Reading From Sequential Files
Sequential File-Related Statements and Functions
Comma-Delimited Format
VB Statements and Functions for Sequential File Processing
Using App.Path
Using FreeFile
LINKING TO DATABASES
ADO (ActiveX Data Object) data control
Data Bound Tools
ADO CURSORS AND LOCKS
Cursor Types
Lock Types
Data Manager in Visual Basic 6 (VB6)
Example – Accessing the Books Database
Creating a Data Report in Visual Basic 6 (VB6)
Creating a Data Report
STRING FUNCTIONS
Converting Strings
The ASCII Functions
The Substring Functions Practical
Converting to Uppercase and Lowercase
Counting Number of Words In A String

(Visited 17,357 times, 12 visits today)

One thought on “Visual Programming pdf notes”

Leave a Reply

Your email address will not be published. Required fields are marked *