INTRODUCTION TO VISUAL BASIC 6 |
| Microsoft Visual Basic 6.0 for Windows |
Introduction
|
3
day course
|
| This 3-day course provides delegates with a solid foundation upon which to build Windows applications using Visual Basic 6. Delegates learn the fundamentals of programming in Visual Basic through the many practical demos. | ||
| What
you should know: Delegates should be familiar with the Windows interface and with the use of modern Windows applications such as Microsoft Office. |
||
| Screen
Layout, Toolbar and Toolbox Objects and Properties, Methods, Controls, and Events Writing Event Procedures; Setting Procedures The Properties Window |
||
| Working
with Projects Creating the Interface and a New Form Naming Objects; Hungarian Naming Convention |
||
| Events
in Visual Basic; Getting Help The Object Browser; Creating Code for Events Changing Object Properties Using Code Adding Comments to Code Moving Around the Visual Basic Code Windows |
||
| Types
of VB Code; Functions; Subs Declarations; Editing and Entering Code Visual Basic Instructions; Labelling Code Introducing and Comparing Date Types Data Holders; Rules for Naming Variables Giving Variables a Data Type; Declaring Variables Using Deftype and Constants; Defining a Constant |
||
| Arithmetic,
String, Relational, Logical and Special Operators; Order of Calculation |
||
| Jumping
using Go To If-Then-Else and Select Case Structures Different Types of Loop Structures; For-Next and Do-Loop Loops Using Variables in and Exiting from a For-Next Loop |
||
| Visual
Basic's Functions and String Functions String Functions and Their Use Formatting Strings and Numbers Comparing Strings with the Like Operator |
||
| Main
Features and Creation of General Procedures Creating a User-Defined and Sub-Procedure Function Calling and Passing Parameters to a Sub Procedure Saving Procedures; The View Procedures Buttons Adding Existing Code into your Application Removing a Code Module or Form |
||
| Declaring
and Erasing Arrays; Placing the Dim Instruction Changing Default Array Starting Number Multidimensional and Dynamic Arrays Passing Arrays to a Procedure |
||
| Debugging
Techniques and Utilities in Visual Basic Rules for Bug Detecting and Tips for Debugging Using the Debug Window, Entering Break Mode The Intermediate Window; Step Into and Over Setting Breakpoints and Watchpoints The Watch Window and Instant Watch Option Calls Stack Option, Using Stop Command Error Handling and Error Trapping |
||
| Events,
Adding Code to an Event MouseDown, MouseUp and MouseMove Events Mouse Capture; Mouse Event Arguments MousePointer and DragIcon Properties Drag and Drop with the Mouse; The DragMode Property |
||
| Keyboard
Events; KeyPress, KeyUp, KeyDown KeyPreview Property; SendKeys Statement |
||
| Creating
a DropDown Menu; Adding Code to Menu Items Inserting and Deleting Menus and Menu Items Adding Separator Bars, Ellipses, Checked Menu Items and ShortKey Combinations Dimming and Changing Menu Items; Pop-Up Menus |
||
| Toolbox
File Controls; File List Box Control Button Directory and Drive List Box Control Maintaining File and Directories; Common Dialog Control |
||
| The Setup Wizard | ||