At a glance
Overview
This course provides an opportunity to learn Visual Basic programming for Windows in a workshop-style, hands-on practical course. Participants will use the latest version of the product, Visual Basic 6.0, to create applications for Windows 95, Windows 98 and Windows NT.
Intended For
The course is suited to experienced programmers with no knowledge of Visual Basic, and also beginner Visual Basic programmers wishing to extend their understanding of the language. Participants will need to have a working knowledge of up-to-date programming techniques and experienced use of Microsoft Windows.
Prerequisites
All participants will need experience with use of Microsoft Windows, as well as up to date knowledge of programming techniques.
Learning outcomes
At the end of this five day programme, participants will:
- Understand how to use the Visual Basic 6.0 Integrated Development Environment
- Know how to write Microsoft Windows applications with Visual Basic 6.0
- Be able to use Data Access Objects, Remote Data Objects, ActiveX Data Objects and Data Bound Controls
- Know how to create OLE server DLLs and OLE client applications
- Have written Windows applications in Visual Basic
Content
Introduction to Visual Basic 6.0
- Overview
- Getting to know the IDE
- Overview of a VB application
- Managing a VB application
- Managing a VB project
- Creating a VB application
Forms and Controls
- Creating forms
- Using the Toolbox
- Textboxes, Buttons, Lists and Combos
- Control Arrays
- Writing event handlers
- Setting control properties
VB Programming Fundamentals
- Variables and Types
- Procedures
- Modules
- Arguments
- Control Structures
Data Types
- Types
- Variables
- Scope and duration
- Arrays
- Constants
- Enumerations
- User Defined Types
Debugging
- Running the debugger
- Breakpoints
- Checking variables
- Using debug interface features
- Conditional compilation
- Compile on demand
Menus and Dialogs
- Creating menus with the menu editor
- Manipulating menus at runtime
- Toolbars
- Modal and modeless dialogs
- Common dialogs
MDI Applications
- Overview
- Creating and using MDI forms
- Child forms
Objects and Collections
- Object Oriented Programming
- Objects
- Messages and Properties
- Using the Object Browser
- Creating Classes
- Collections and Dictionaries
- New keyword
- Interfaces
- Polymorphism
Databases and Data Controls
- Overview
- Databases and Applications
- Using the Data Bound controls
- Data Access Objects (DAO)
- Remote Data Objects (RDO)
- ActiveX Data Objects (ADO)
OLE and ActiveX
- Overview
- OLE Automation
- OLE Servers
- ActiveX Documents
- ActiveX Controls
- OLE Clients
- OLE Messaging
Method Used
Each participant will have dedicated use of a personal computer for the entire duration of the workshop. Practical exercises and programming form a large part of the course


