Event Driven Module

Only available on StudyMode
  • Download(s) : 28
  • Published : March 18, 2013
Open Document
Text Preview

[pic]
VIRTUAL CAMPUS, UNION TOWERS, 6TH FLOOR.P.O BOX 13495-00100 GPO Nairobi. Email:distance.learning@mku.ac.ke,0700-912353,0702-041042.

BACHELOR OF BUSINESS INFORMATION SYSTEM

BBIT 3206 : EVENT DRIVEN PROGRAMMING

AUTHOR : Njuguna Patrick :0721238570 email : rpwnjuguna@gmail.com Course content
INTRODUCTION
• The Visual Basic 6 environment
• Defining terms
• Creating a Visual Basic Project
• Practice project - Building a Football Scoreboard
APPLICATION DEVELOPMENT
• Improving the VB application
• Using a step-by-step approach
• Writing a VB procedure
• Calling procedures
BUILDING BLOCK OF VB 6

• Using the Visual Basic 6 code editor
• Adhering to programming standards
• Data types, variables and constants in Visual Basic
• Using operators
• Control structures - IF...THEN, Select Case, DO...LOOP, FOR...NEXT • Practice assignment - Upgrading the Scoreboard
DESIGNING VB APPLICATION
• Designing the Visual Basic Application
• Working with users
• Guiding principles
• Choosing a Visual Basic interface style

DEVELOPING USER INTERFACE
• Defining the Visual Basic Form
• Standard controls: Picture, Frame, CommandButton, Label, TextBox, CheckBox, etc. • Visual Basic practice assignment: Creating a Payroll Form • Arrays
• More controls: ListBox, ComboBox
• Properties and Methods of objects in Visual Basic
• Building a file search application: DriveListBox, DirListBox, FileListBox • Building a Menu
• Debugging Visual Basic code
• Error trapping

ENHANCING VB APPLICATION WITH CONTROLS

• Manipulating text - string functions
• Visual Basic functions for dates, numbers
• Using the Windows Clipboard and Screen objects
• Creating Copy, Paste, Cut, Delete functions
• Pictures, Graphics and Drawing controls in Visual Basic • Multimedia - incorporating sounds and pictures
• Building a CD player in code

FILE ACCESS

• Working with Visual Basic files
• Writing and reading a Sequential-access file
• Sample project: the Address Book
• Creating a sequential output form
• Creating and using a Random-access file

DATABASE PROGRAMMING

• Creating a Microsoft Access database - refer to SQL tutorial • The Project Management example
• The Data control
• Visual Basic Bound controls - TextBox controls linked to database • Validating data - ensuring database integrity
• Finding a specific record in the database
• Using multiple tables from the database
• Creating multiple data controls
• Using Data Bound List Controls
• Using VISDATA - the Visual Basic Data Manager

Chapter 1:INTRODUCTION

Learning outcome.

At the end of this topic learner should be able to:

• Use basic terms in application development

• Understand visual basic 6.0 development environment

• Develop a basic application

1.1Defining basic terms

Application

An application is a collection of objects that work together to accomplish something useful. In Visual Basic(VB) the application is called a Project. A Project could be a the management of student records, banking application, Video store, the calculation of mortgages, a booking service or the Payroll system for employees etc.

Object

An object is a piece of software that has properties and functions that can be manipulated. Whew! You're here so, you must be somewhat familiar with the Windows environment. A window is an object. It has properties: size, color, position on the screen, etc. (The purists among you may want to talk about a class rather than an object but, at this point we just want to keep it simple, and the underlying concept is the same). The window has functions, also called methods, that can be manipulated: change the size, move it around, open it and close it. You do...
tracking img