Visual Basic 6 Introduction - Course Outline
Duration
3 days
Course Aims
This course has been designed for those who wish to understand Visual Basic 6.0 and how to use it to develop skills in programming.
Learning Outcomes
Upon completion of this course the participant will be able to:
• Understand programming basics • Understand the use of variables and controls
• Understand the requirements to build an application • Create menus
• Enter and modify code • Apply error handling techniques
Training Method
Training is conducted by professional trainers, using hands on exercises and user practise to consolidate concepts.
Prerequisite
Participants must have a sound knowledge of computers and software applications.
Course Content
Introduction to Visual Basic programming
• What is Visual Basic? • Terminology
• Planning • Steps to create an application
• Modular environment
Building an application
• Setting properties of objects • Forms
• Introduction to controls • Object-based, event-driven programming
Coding
• The Code Editor • Using the Object Browser to view properties and methods of objects
• Statements and functions • Conditional statements
• Looping statements • Native code
Forms
• Showing and hiding forms • Order of events
• Multiple forms • Startup and end of applications
Introduction to procedures
• Arguments and parameters • Named arguments and optional arguments
Variables
• Data types • Scope and lifetime of variables
• Constants • Arrays and user-defined types
Controls
• Enhanced control formatting • Standard controls
• Custom controls
Menus
• Creating and coding menus • Custom pop-up menus
Error handling
• An introduction to error handlers
The next step
• Data access using the Data Form Wizard and the data control
• MDI forms • Classes
• ActiveX controls within Visual Basic