[Frames]NCSA Habanero
-------------------------------------------------------------------

 

Visual Basic Patterns, Minimalist, Step
How to create payroll programs to include Visual Basic (VB) elements
by Ho Sin Ban

 

-------------------------------------------------------------------

Why use Visual Basic (VB)?

Visual Basic (VB) is a framework of graphical-based language. This graphical-based language allows the user to work directly with graphics. Graphical-based languages can be used to develop applications in "windows environment" in much less time than writing the collaboration of software packages from scratch.

Looking from the angle of object-oriented programming, Visual Basic (VB) is a framework that supports implementation inheritance.  Implementation inheritance lays the groundwork of the kind of inheritance VB does support, which can be reasonably be simulated in VB by a combination of interface inheritance and a technique called delegation.

This tutorial teaches you how to create a payroll program to include elements of VB. It is based on the patterns approach to describing proven successful solutions to recurring problems.


This is the Index page. Use this page to find topics on things you want to know. You can easily come back here using the Index button at the top of each pattern page, use it in a separate window, or use the index in a frame.

0. Index (this page)
  0.1 Read me first (explains how to use these pages and what the symbols mean.)

  0.2 Quick start example (Patterns Documentation to illustrate Tutorial 3)
    0.2.1. Initial steps to create a new project with a form
           (Create project and save form)
    0.2.2.
How to specify the properties setting for the form (Properties Setting State)
    0.2.3.
How to create text boxes and labels in the form (Object Controls State)
    0.2.4.
How to write event procedures for the objects (Event Procedures Handling)
    0.2.5.
How to add command button to terminate the program (Termination State)


Basic Topics (Minimalist Documentation to illustrate Tutorial 5)

1. How to create application consists of more than a window (Prototyping using Visual Basic)
  1.1. What to draw the form and set the properties
           (Change form properties, create objects, and save form)
  1.2. How to write start-up codes for the form (Initialisation State)
  1.3. How to transfer value from one object to another object (Transfer State)
  1.4.
How to add a start-up page to the program (Simple Forms Handling)

Intermediate Topics (Step by Step Documentation to illustrate Tutorial 6)

2. How to create menus application using Visual Basic (Prototyping with Menu Objects)

 

3. Common mistakes or errors


Appendices

  A.0 VB Demo Example
  A.1 Glossary
  A.3 VB Methods Glossary [Outside link]
  A.4 Known bugs [Outside link] -------------------------------------------------------------------
If you spot an error, please contact SB Ho[Outside link] Also, please contact me if you find some aspects of payroll program that are not explained clearly so that I can improve this documentation.


NCSA
The National Center for Supercomputing Applications
Multimedia University, Malaysia

Last revised: 01 February 2004            12:00

Contacts page

Payroll® program is a registered trademark owned by The Board of Trustees of the Multimedia University, Malaysia. Copyright 2003-2005. All rights reserved.   Visual Basic (TM) is a proprietary trademark owned by Microsoft Corporation