Training Classes   Learn How To  

COURSE SEARCH
 
   HOME > COURSES > MICROSOFT VISUAL BASIC 5.0 PROFESSIONAL INTRODUCTION MEMBERS LOGIN 
UNLIMITED ACCESS TO OVER 575 ONLINE TRAINING COURSES FOR ONE ANNUAL PAYMENT OF ONLY $149 USD
BUY NOW
  HOME     COURSE LIBRARY     QUESTIONS & ANSWERS     CONTACT US
There are many excellent online courses. This has been hugely beneficial in my day to day work.
- Louise Nolan


Microsoft Visual Basic 5.0 Professional Introduction




Course Aims
To provide readers with a solid foundation upon which to build Windows applications using Visual Basic 5. Readers learn the fundamentals of programming in Visual Basic through the many practical demos and modules of the course.
Assumed Knowledge
Exposure to a programming language would be desirable but is not mandatory.
Course Audience
Application Developers, Prototypes, and Analysts new to MS Visual Basic who want to learn the essentials of this language and the conventions of a graphical interface.

This course can be found in the following categories:
Courses > Programming > Microsoft Visual Basic
Courses > Microsoft > Visual Basic

Table of Contents
Basic Concepts
  • The Screen Layout
  • The Toolbar
  • What are Objects and Properties?
  • What are Methods?
  • What are Controls?
  • What are Events?
  • Writing Event Procedures
  • The Toolbox
  • Setting Properties
  • The Properties Window
     
    Creating Applications
  • Working with Projects
  • Creating the Interface
  • Creating a New Form
  • Naming Objects with the Name Property
  • List of Prefixes used in the Hungarian Naming Convention
  • Looking at a Sample Application
  • Changing Properties and Running a Form
  • Creating an Interface and Changing Properties
     
    Writing Visual Basic Code
  • Examples of Events that Occur in VB
  • Getting Help in VB
  • The Object Browser
  • Creating Code for Events
  • The Code Window
  • Changing Object Properties by using Code
  • Adding Comments to your Code
  • Moving Around the Visual Basic Code Window
  • Creating a Number Cruncher
  • Creating a Mortgage Calculator
     
    Language Fundamentals
  • Types of VB code
  • Functions
  • Subs
  • Declarations
  • Editing Code
  • Entering Code
  • VB Instructions
  • Labelling Code
  • Introducing Data Types
  • Comparing Data Types
  • Data Holders
  • Rules for Naming Variables
  • Giving Variables a Data Type
  • Declaring Variables
  • Reducing Errors by Forcing Variable Declarations
  • Using DefType to Declare Variables
  • Using Constants
  • Defining a Constant
  • Where do you Define a Constant?
  • Adding Code to the Number Cruncher
  • Adding Code to the Mortgage Calculator
  • Adding More Code to the Mortgage Calculator
     
    Using Operators
  • Arithmetic Operators
  • String Operators
  • Relational Operators
  • Logical Operators
  • Special Operators
  • Order of Calculation
     
    Making Decisions, Looping and Jumping
  • Jumping using the GoTo Instruction
  • If-Then-Else Structures
  • Select Case Structures
  • Different Types of Loop Structures
  • Which one do you use?
  • For-Next Loops
  • Using Variables in a For-Next loop
  • Exiting a For-Next Loop in Mid-flow
  • Do-Loop Loops
  • Exiting a Do-loop Structure in Mid-flow
  • Creating a Simple Text Editor
  • A Book Ordering System
     
    Working With Numbers and Strings
  • VB's Functions
  • Using Some of the Functions
  • Using VB's String Functions
  • A List of String Functions
  • Using Some of the String Functions
  • Formatting Strings and Numbers with Format
  • Comparing Strings with the Like Operator
     
    More on Subs and Procedures
  • General Procedures
  • Main Features of General Procedures
  • Creating a General Procedure
  • Creating a User-Defined Function
  • Creating a Sub Procedure
  • Calling a Sub Procedure
  • Passing Parameters to a Sub Procedure
  • Saving Procedures
  • The View Procedures Buttons
  • Adding Existing Code into your Application
  • Removing a Code Module or Form
  • More on the Drinks Booking Form
  • Using Some of the Functions in this Module
  • Creating Your Own Sub Procedures
    Further Working with Arrays and Structures
  • Declaring Arrays with the Dim Statement
  • Where Should the Dim Instruction Go?
  • Changing the Default Array Starting Number
  • Declaring Arrays with the Static and Public Instructions
  • Multi-dimensional Arrays
  • Two-dimensional Arrays
  • Three-dimensional Arrays and Above
  • Dynamic Arrays
  • Erasing Arrays once Used
  • Passing Arrays to a Procedure
  • Using Arrays
  • An STD Code Look-up Table
     
    Handling Errors and Debugging Code
  • Debugging Techniques in VB
  • Rules of Bug Detecting
  • Tips for Debugging
  • Using the Debug Window
  • Entering Break Mode
  • Looking at the Immediate Window
  • Placing Results in the Immediate Window from Running Code
  • The Debug Utilities
  • Step Into and Step Over
  • Setting Breakpoints
  • Setting Watchpoints
  • Watching Expressions in the Watch Window
  • Editing and Deleting Watch Expressions
  • The Instant Watch Option
  • The Calls Stack Option
  • Using the Stop Command in Code
  • A Summary of Shortcut Keys for Debugging Tools
  • Error Handling and Error Trapping
  • The Error Handling Statements and Functions
     
    More on Mouse Events
  • Click and DblClick Events
  • Adding Code to an Event
  • MouseDown, MouseUp and MouseMove Events
  • The Order of Mouse Events
  • Mouse Capture
  • Mouse Event Arguments
  • MousePointer and DragIcon Properties
  • Dragging and Dropping with the Mouse
  • The DragMode Property
  • Demonstration of Mouse Events
  • Dragging and Dropping
     
    Responding to the Keyboard
  • Keyboard Events
  • KeyPress
  • Some Popular KeyPress Values
  • KeyUp and KeyDown
  • The KeyPreview Property
  • The SendKeys Statement
  • The ShowKeys Application
  • The Fantastical Fuming Finger of Fortitude
     
    Creating Your Own Menu Structures
  • Creating a Drop-down Menu
  • Adding Code to your Menu Items
  • Inserting New Menus or Menu Items
  • Deleting Menus or Menu Items
  • Creating Cascading Menus
  • Adding Separator Bars on your Menus
  • Adding Ellipsis to Indicate a Dialogue Box
  • Adding Checked Menu Items
  • Adding a Shortcut Key Combination to a Menu Item
  • Making Menu Items Dimmed Out
  • Using Code to Change the State of Menu Items
  • Making Pop-up Menus
  • Bringing up the PopUp Menu on Demand
  • Making Menu Structures
  • Creating a File Selector Application
     
    Manipulating File Controls
  • The File Controls on the Toolbox
  • The File List Box Control Button
  • The Directory List Box Control
  • The Drive List Box Control
  • Making These Controls Work Together
  • Maintaining Files and Directories in VB
  • Other Useful Statements with Files
  • Using the Common Dialog Control
  • Example Code for the Common Dialogue Box
     
    Interacting with Databases
  • The Data Control
  • Creating Bound Controls
  • Creating Code for Data Controls
  • The RecordSet Property
  • The Refresh Method
  • Overview of SQL
  • The DBGrid Control
  • The DBList Control
  • The DBCombo Control
  • The Data Form Designer
  • Designing Your Own Database
  • Using the Data Form Designer
  • Creating a Main and Sub Form
     
    Putting it all Together
  • The Setup Wizard
  • At the User's Machine
    TRY BEFORE YOU BUY BECOME A RESELLER
    Tuesday 22nd May 2012  © COPYRIGHT 2012 - website design by Website Design by Visualsoft