Complete Visual BASIC
A hands-on introduction to programming in Visual BASIC V6, covering application development, event-driven programming, user interfaces, data access and debugging. Delegates learn to build applications and simple components, examine existing code and troubleshoot program behaviour.
Course overview
A hands-on introduction to programming in Visual BASIC V6.
What you will learn
- Build Visual BASIC applications.
- Build simple components.
- Debug Visual BASIC programs.
- Examine existing code and determine its function.
Who will benefit
- Anyone wishing to program in Visual BASIC.
Prerequisites
- None although experience in another high level language would be useful.
Course content
Application development using VB
VB features. VB editions, VB terminology. Working in the Development Environment. Event-Driven Programming. Creating a program in VB. Project and executable files. VB reference materials.
Visual Basic fundamentals
Objects. Controlling objects. Introduction to forms. Introduction to controls. Basic controls.
Working with code and forms
Modules. Working with code. Interacting with the user. Working with code statements. Managing forms.
Variables and procedures
Introduction to variables and constants. Working with Procedures and Functions.
Controlling program execution
Common VB functions. Comparison and relational operators. Conditional structures. Looping structures.
Debugging
Error types. Debugging logic errors in VB.
Working with controls
Control types. Standard controls. Advanced standard controls. ActiveX controls. Insertable controls.
Data access using the ADO data control
Overview of ActiveX Data Objects. VB data access features. Relational database concepts. Using the ADO data Control to access data. SQL. Manipulating data. Using the data form wizard.
Input validation
Field-Level validation. The masked edit control. Form-Level validation. Form events used when validating data.
Error trapping
Trapping run time errors. Error handling overview. Enabling an error trap. Errors and the calling chain. In line error handling.
Enhancing the User Interface
Menus. Status bars. Toolbars.
Drag and Drop
Overview of Drag and Drop. Mouse events Drag and Drop basics.
More about controls
Using control arrays. Using the controls collection. Working with object variables. Collections.
Finishing touches
User Interface design principles. Distributing an application. Creating a default project.
Where this course fits
What engineers say
“"Hard concepts were explained very simply."
“"I’ve found it very useful and the course was very well put together and delivered."
Dates & prices
View full schedule →Private & bespoke delivery for your team
We run this course exclusively for your organisation — at your site, our venue, or online. Flexible dates, tailored content, and pricing based on group size.
Not sure if this course is right?
Talk to one of our engineers about your environment, experience level, and goals. We’ll confirm whether this course is the right fit or suggest a better alternative.