Visual Basic 6.0 Applications Development
Course
In Edinburgh
Description
-
Type
Course
-
Location
Edinburgh (Scotland)
-
Duration
4 Days
This Course provides students with a basic practical knowledge of application development using Visual Basic. It teaches both project design and construction, while covering the syntax of the language in detail. During the Course the student will write many applications to ensure that the concepts and statements taught are fully understood and practical experience is gained. On completion of. Suitable for: This Course is designed for the novice developer or those with little or no experience of VB who require knowledge of application development.
Facilities
Location
Start date
Start date
About this course
The student should be familiar with the host environment - Windows XP/NT/98/2000. Knowledge of any programming language is advantageous but not essential.
Reviews
Subjects
- Basic
Course programme
Course Objectives
This Course provides students with a basic practical knowledge of application development using Visual Basic. It teaches both project design and construction, while covering the syntax of the language in detail. During the Course the student will write many applications to ensure that the concepts and statements taught are fully understood and practical experience is gained. On completion of this Course the student will be able to:
-
use the major concepts of a modern language, such as control flow, function calls and modular programming.use windows forms and all the components available to them.use the visual basic IDE to layout and build applications.use and understand many of the built in functions available to VB.
Course Details
-
WINDOWS PROGRAMMING
Introduction to Windows Programming
Overview, Event Driven Programming, Events, Properties, Methods
DEVELOPMENT ENVIRONMENT
The Visual Basic IDE
The IDE Toolbar, Project Explorer Window, Toolbox, Properties Window, Form Layout Window,
Form Design Window, Code Window, Code Editor
Where To Start
Loading VB for the First Time, Placing Controls on a Form, Adding Code to the Project
VB CONTROLS
Naming Controls, Suggested Prefixes for Controls, Control Arrays
Controls
Pointer, Check Box, Combo Box, Command Button, Data, Directory List Box, Drive List Box, File List Box, Frame
Horizontal Scroll Bar, Image, Label, Line, List Box, OLE, Option Button, Picture Box,
Shape, Text Box, Timer, Vertical Scroll Bar
Menus
VB STANDARD FORMS
Forms, How Forms are Stored
VARIABLES
Defining Variables
Variable Data Types, Naming Conventions, Dim, Private, Public, Variable Scope
Static Variables, Static Functions, Const
Arrays
Defining Arrays, Redefining Array Sizes
VB LANGUAGE SYNTAX
Basic syntax
Assigning Variables, Arithmetic, Symbol Evaluation, Comments
Sub and Function Procedures
Sub Procedures, Function Procedures, By Reference, By Value
Program Structure
If..Then..Else, IIf, Select Case, For..Next Loop, Do..While Or Do..Until, For Each Loop, With..EndWith, Exit
USING FUNCTIONS IN VB
Built In Functions
Left$, Right$, Mid$, Replace, Ltrim$, Rtrim$, Trim$, InStr And Len,
InStrRev, StrReverse, StrConv, Ucase$ And Lcase$, Isdate, Asc And Chr$,
Msgbox, Inputbox, Rgb, Rnd, Round, Filter, Split And Join
SEQUENTIAL FILE ACCESS
File Access
File Numbers, Opening/Closing/Reading/Writing files
Using the TextStream Object
DATA ACCESS
The Data Control
Binding Controls to the Data Control, Validating the Action Requested, Maintaining Database Records
ACCESSING THE REGISTRY
Accessing the Settings, GetSetting, GetAllSettings, SaveSetting, DeleteSetting
COLLECTIONS
Collections
Properties and Methods of the Collection Object, Adding Items, Deleting Items, Retrieving Items, Dictionary Object
INTRODUCTION TO CLASSES
What is a Class?, Class Example as a Whole, Now Bit by Bit, Using the Class
DEBUGGING APPLICATIONS
The VB Debugging Facilities
The Debug Toolbar, The Debug Menu, Starting Debugging,
Using F5 (Run) to Start Testing,
Using F8 (Step Into) to Step Through Testing,
Stopping at a Specific Point,
Using the Immediate Window,
Run Time Errors
COMPILING APPLICATIONS
Testing, Compiling the Application
Course Environment Development will be performed using:
- Microsoft Visual Basic 6.0 (Service Pack 3 minimum)
Course Format: Practical sessions make up a large part of the course, allowing delegates to demonstrate and reinforce the lectures given. During these sessions the delegate will build a simple but complete application. Examples are used extensively, ranging from simple code 'snippets' to full applications with complete 'real world' functionality. These are supplied at the start of the course and it is encouraged that the delegates execute and 'experiment' with these under the instructor's guidance as they are introduced. These examples are available to take away, along with the delegate's own work. The comprehensive Student Guide supplied is fully indexed serving as a useful reference tool long after the course has finished. Delegates will also be able to access a free help-line with technical questions relating to topics covered on the course.
Visual Basic 6.0 Applications Development