![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Course | Introduction to Microsoft Visual Basic 6/Visual Basic .Net for Windows | |
| Duration | 3 Days | |
| Overview | This 3 day course provides students with a solid foundation upon which to build Windows applications using Visual Basic 6/Visual Basic Net. Delegates learn the fundamentals of programming in Visual Basic through the many practical examples and demonstrations. | |
| Content | Basic Concepts | Screen
Layout, Toolbar and Toolbox Objects and Properties, Methods, Controls, and Events Writing Event Procedures; Setting Procedures The Properties Window |
| Creating Applications | Working
with Projects Creating the Interface and a New Form Naming Objects; Hungarian Naming Convention |
|
| Writing Visual Basic Code | 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 |
|
| Language Fundamentals | 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 |
|
| Using Operators | Arithmetic,
String, Relational, Logical and Special Operators; Order of Calculation |
|
| Making Decisions, Looping and Jumping in Code | 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 |
|
| Working with Numbers and Strings | Visual
Basic's Functions and String Functions String Functions and Their Use Formatting Strings and Numbers Comparing Strings with the Like Operator |
|
| More on Subs and Procedures | 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 |
|
| Working with Arrays and Structures | Declaring
and Erasing Arrays; Placing the Dim Instruction Changing Default Array Starting Number Multidimensional and Dynamic Arrays Passing Arrays to a Procedure |
|
| Handling Errors and Debugging Code | 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 |
|
| More on Mouse Events | Events,
Adding Code to an Event MouseDown, MouseUp and MouseMove Events Mouse Capture; Mouse Event Arguments MousePointer and Drag Icon Properties Drag and Drop with the Mouse; The DragMode Property |
|
| Responding to the Keyboard | Keyboard
Events; KeyPress, KeyUp, KeyDown KeyPreview Property; SendKeys Statement |
|
| Creating Menu Structures | 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 |
|
| Manipulating File Controls | Toolbox
File Controls; File List Box Control Button Directory and Drive List Box Control Maintaining File and Directories; Common Dialog Control |
|
| Integration | The Setup Wizard | |