banner
Theory :
Lab :
   ~ Back to Taif University on NOV 2012!      ~ Publications, Patents, Databases, Software Engineering, Graphics, Image Processing, Cisco Training, Lecture Notes are updated!      ~ E-Journals, Software Engineering, Cisco Training, Everyday English, and Album Sections have been updated!      ~ This website will be updated gradually since I am busy with my master project      ~ Welcome to u2learn.net... All my students are invited!      
Visual Programming

A visual programming language (VPL) is any programming language that lets users create programs by manipulating program elements graphically rather than by specifying them textually (Wikipedia).

Lab Lectures:

My Lab exercises introduce the syntax and semantic of using one of the visula programming languages provided by Microsoft. All the programs for this subject were written in Visual Basic 6.0. Right click on the PDF icon to download the file, Right click on the WinZip icon to dowload the code.

Laboratory Programs
Lab. 1 Contents:
(1) Starting VB
(2) VB Interface Windows
(3) Testing Program (My First Program)
(4) Saving Project
(5) Making .exe File
(6) Exit the VB Environment

Lab. 2 Contents:
(1) Windows vs. DOS.
(2) Writing a Program
(2.1) Designing the algorithm (Flowchart) of the idea to be
programmed.
(2.2) Drawing the interface.
(2.3) Setting Properties.
(2.4) Writing Code.
(2.5) Debugging Code and correcting errors.
(2.6) Running the Program.

Lab. 3 Contents:
(1) A Program to Print Al-Salam
(2) The Properties of Forms, Command Buttons
(3) MsgBox Instruction

code

Lab. 4 Contents:
(1) A Program to Print some of texts in a TextBox.
(2) The Properties of Forms, Command Buttons, TextBox
(3) Change the text Property of the TextBox control at the run mode.
(4) End instruction.

code

Lab. 5 Contents:
(1) A Program to input a text from the user
(2) InputBox Instruction
(3) How to make concatenation between two or more strings

code

Lab. 6 Contents:
(1) A Program to move between windows.
(2) How to add new Forms to the project.
(3) Visible Property for the forms

code

Lab. 7 Contents:
(1) A Program to display the date and time
(2) Using the timer control and change it's interval
(3) Print on textbox and labels

code

Lab. 8 Contents:
(1) A Program to change Image properties

code

Lab. 9 Contents:
(1) A Program to check for a password before entering the main
interface.
(2) The Property "passwordChar" of the text box.
(3) New properties of labels "fore colors, fonts, background colors, set
focus".
(4) LoadPicture instruction.
(5) Using CheckBox control.
(6) Using OptionButton control.

code

Lab. 10 Contents:
(1) A Program to perform various operations.
(2) Solving arithmetic equations.
(3) Using nested if instruction.
(4) Using for loop instruction.
(5) Saving the value in memory.

code

Lab. 11 Contents:
(1) A Program to edit menus for students.
(2) Using Menu Editor.
(3) Using Tool Bar Control.
(4) Properties of Option Buttons.
(5) Using ListBox control and its functions.
(6) Using Math Object.

code

Lab. 12 Contents:
(1) Using Array of Controls.
(2) Calculate average of subjects.

code

Lab. 13 Contents:
(1) A Program to perform File Operations in VB.

code

Exercise Set
Exercises. 1 Basic Input/Output Operations / Visual Properties
Exercises. 2 Basic Input/Output Operations / Visual Properties
Exercises. 3 Mathematical Operations and Built-in Functions
Exercises. 4 Menu Manipulations
Exercises. 5 Advanced Programming Topics
Exercises. 6 File Operations
Questions Sample of final exam questions
Solutions Solutions to the previous final exam

 

Important Downloads:

Microsoft Visual Basic 6.0 downloads on CNET
Visual Basic 6 (VB6) | tutorials and source code samples

 


:: Home :: Lecture notes :: Calendar :: E-Learning :: Contact us :: Guest book :: Taif University :: CIT ::

All rights reserved for © u2learn.net 2008-2012

For best resolution use: 1024 x 768
You are using :