Visual Basic 6
You will learn how to
- Use Visual Basic 6 to develop Windows applications quickly and effectively
- Build full-featured Windows programs
- Access data with ActiveX Data Objects
- Create client/server database applications that connect to SQL servers
- Use COM to integrate Windows programs
- Enhance application design with object-oriented programming techniques
Course benefits
Microsoft Visual Basic 6 is one of the most popular environments for building full-featured Windows applications quickly and easily. The Visual Basic programming system empowers developers to create applications that provide fast and effective solutions to pressing business needs.
This course provides the skills and knowledge to fully exploit the features and capabilities of Visual Basic. During in-class exercises, you develop real-world Windows applications, and integrate them using COM and other advanced techniques.
Who should attend
This course is valuable for those who want to develop applications using Visual Basic 6. Familiarity with Windows is assumed; prior experience with macros or a scripting language is helpful.
Hands-on training
During this course, you perform extensive exercises that provide practical development experience with the Visual Basic environment. Instructor-led hands-on exercises include:
- Working with buttons, list boxes and text boxes
- Using timers, graphs, cursors, icons
- Creating and attaching menus, dialog boxes and help files
- Building client/server database applications
- Incorporating graphics and bitmaps into Windows and dialog boxes
- Incorporating MDI into your Windows applications
- Using COM to control Windows applications
Course content
Introduction to Visual Basic
The Visual Basic 6 environment
- Visual design process
- Distributing Visual Basic applications
- Event-driven programming paradigm
Flavours of Visual Basic 6
- Visual Basic Learning, Professional and Enterprise Editions
- Visual Basic for Applications (VBA)
- VBScript
Providing business solutions using proven object-oriented methods
- Object-oriented techniques
- Integrating Windows applications with COM (Component Object Model)
- The ActiveX controls
- What's new in Visual Basic .NET
Building an Application with Visual Basic
Getting started
- Becoming familiar with the Visual Basic 6 integrated environment
- Adding controls and other display objects
- Using properties to refine the interface
- Writing the event procedures
Managing Visual Basic Projects
- Grouping items into projects
- Setting environment options
- Compiling, running and saving the project
The Visual Basic Toolbox
Using the standard controls
- Buttons
- Scroll bars
- Text boxes
- List boxes
- Graphs
- Grids
- Timers
- Masked-edit controls
- Picture and image control
- Customising controls
Using the common controls
- UpDown
- Slider
- ToolBar
- ProgressBar
- TreeView
- ImageList
- Tabbed dialog
- DateTimePicker
Data Types and Procedures
Data types, variables and constants
- Attributes of built-in data types
- Naming conventions
- Symbolic constants
- Arrays and structures
Statements and procedures
- Conditional logic
- Loops
- Comments
- Subroutines and functions
Object-Oriented Programming
Object-oriented design concepts
- Designing classes
- Increasing reusability through encapsulation
Applying object-oriented techniques
- Building collections
- Public and private members
Menus and Dialog Boxes
Creating menus
- Design time vs. runtime
- Menu design guidelines
Creating dialog boxes
- Modal
- Modeless
- Using the common dialog box control
- Control arrays and properties
Database Access and COM
Creating GUI front-ends for client/server applications
- Using the data control
- Adding data reports
- The DataEnvironment Window
ActiveX Data Objects (ADO)
- OLE DB: the basis for data access
- The ADO object model
- Connections, commands and Recordsets
- Querying the database with SQL
Exploiting COM
- Creating scripts with Automation
- Automating Office applications
System-Level Techniques
Debugging Visual Basic code
- Watch variables
- Breakpoints and call trees
- Statement and procedure steps
Tapping the power of Windows
- Multiple Document Interface
- Calling the Windows API
|
|