Introduction to Visual Basic 6 (VB6) Training Course
| Course code: |
VB6INTRO |
| Details: |
3 days, On demand - enquire
|
| Onsite | Enquire about bringing this course to your offices |
| Who should attend: |
IT professionals looking for an introduction to VB6 and those looking to get into IT, and are planning to use the course as their first step in the visual programming ladder. |
| Prerequisite skills: |
Programming skills gained in any language. |
Course Outline
This highly acclaimed Hands-On course provides delegates with a practical hands-on introduction to creating commercial applications in Visual Basic 6, a simple to use yet powerful development tool which is widely used in the business community. Delegates will build Interactive applications which access relational databases for information update & retrieval.
Course Content
This course has been developed for real-world, commercial scenarios by our expert instructors. See below for detailed syllabus. If you have a technical question, please email sales@jbinternational.co.uk
What you will learn
1. Understand the Visual Basic development environment and language.
2. How to write an application that uses a database.
3. How to write an COM Client application.
Hands-On Exercises
The exercises during the course combine to create a currency converter application, a banking application, plus stand-alone modules, covering:
1. GUI front-end e.g. containing menus.
2. Validation of input and dialog windows.
3. Database handling.
4. Client-server / n-tier implementation.
5. Allow only one copy of the application to be started.
Visual Basic 6 (VB6 Comprehensive) Course Outline
Part 1 Introduction to the VB Environment
Visual Basic Overview & Terminology
Event driven programming
VB Programming Environment
Part 2 Creating the User Interface
Building the User Interface
Creating an Application
Building Menus
Part 3 VB Programming Language
Event Handling
Using Properties
Methods
Naming Conventions
Variables
Variable Scope
Constants
Arrays
User Defined Types
Comments
Continuation Statements
Assignment Statements
Operators
Loops & Decision structures
- If.......Then.......Else
- Do...Loop, For, While, Exiting a loop
Message Boxes (Msgbox)
Input Boxes (Inputbox)
Sub-Routines and Procedures
Part 4 Error handling and debugging
Error Handling
- Introduction
- Trappable Errors
- On Error...
- Resume
- Error Handlers
Err, Error and Error$()
Techniques
- Avoid Variable Name Errors
- Setting Your Own Error Codes
- Simulating A Visual Basic Error
- Catering for Unexpected Errors
- Delayed Error Handling
- Turning Off Error Handling
- Function Specific Error
- Procedures
Debugging your code
- Using the Debug Window Passively
- Using the Debug Window Actively
Interactive Debugging Tools
- Stepping Through Code
- Breakpoints
- Watches
- Instant Watch
- The Calls Window
- Set Next
Part 5 Working with more advanced controls
File management
Timer
ActiveX custom controls
- Tree view and List view
- Common dialog
- Masked edit
- Status Bars
- Toolbars