The learning
objective of this five days course is to learn how to program in Visual Basic
6.0. Each activity will have a practice lesson with questions at the end of each
lesson.Prerequisites:
Programming Fundamentals of Visual Basic 6.0 is designed for developers who are
moving to Visual Basic with some understanding of basic programming concepts
from a previous programming background.
During the courses, you will learn how
to:
- Describe the programming process
- Use the development environment
- Explain the basic program structure
- Create controls
- Set properties
- Create an application
- Create buttons and labels
- Create text boxes
- Set form properties
- Discuss basic code and data types
- Store and calculate data within the
application
- Use Visual Basic's built-in functions
- Use message and input boxes
- Include remarks in the program
- Use comparisons in an application
- Utilize looping structures in code
- Code a sample application for calculating
interest
- Use list and combo boxes
- Create data arrays
- Use option buttons
- Use check boxes scroll bars and timers
- Call procedures
- Create subroutines and functions
- Code arguments
- Use built-in functions
- Describe and use the common dialog box
- Open close and delete files from an
application
- Read and write data from a database
- Process data from a database
- Print from an application
- Control print properties
- Use the menu editor
- Add pull-down menu options
- Use menu options
- Use images and pictures
- Animate images
- Create toolbars
- Use line and shape controls
- Debug a program
- Step through code
- View the program's progress as it's running
- Create installation programs
Course Outline
- Programming with Visual
Basic
- What is Visual Basic?
- The VB program development cycle
- Using the Development
Environment
- Using the menu bar and toolbar
- Using the Form window
- Supplying Controls with the toolbox
- Using the Properties window
- The Project Explorer window
- Placing forms with the Layout window
- Using the Help! feature
- Introduction to Programs
- Opening a sample project
- Running applications
- Viewing objects
- Naming objects
- Looking at Programs
- Event-driven programs
- Looking at code
- Control events
- Event procedures
- Properties and event procedures
- Creating Your First
Application
- Generating an application
- Using the VB Application Wizard
- Looking at the generated program
- Creating Controls
- Creating new applications
- Providing the interface with controls
- Setting Properties
- Control properties
- Changing properties
- Creating a Project From
Scratch
- Creating a simple application
- Saving the new application
- Labels Text Boxes and
Buttons
- Creating labels
- Creating text boxes for user input
- Creating command buttons
- Setting form properties
- Coding Basics
- Controls and code
- Datatypes
- Literals and variables
- Storing and Calculating
Data
- Assigning data to variables
- Matching variables and datatypes
- Assigning values to properties
- Using expressions and operators
- Using concatenation
- Building an Interest
Calculator Application
- Creating the form
- Focus and controls
- Adding controls
- Copying controls
- Creating the Rest of the
Application
- Finishing the form
- Adding code
- The Unload statement
- Putting on the Finishing
Touches
- Finishing touches
- Error checking
- Saving projects
- List and Combo Boxes
- The list box control
- Combo boxes
- Data Arrays
- Defining data arrays
- Array benefits
- Option Buttons
- Using option buttons
- Option button properties
- Frames and option buttons
- Using named literals
- Check Boxes Scroll Bars
and Timers
- Check boxes
- Scroll bars
- VB's clock: the timer control
- Calling Procedures
- Structured programming
- Calling procedures and returning from
them
- Calling built-in functions
- Coding Subroutines and
Functions
- Coding subroutines
- Coding functions
- Coding Arguments
- Working with arguments
- Receiving by reference and by value
- Passing arguments by reference: an
example
- Built-In Functions
- Numeric functions
- String functions
- Date and time functions
- Data and Formatting
Functions
- Data-testing functions
- Data conversion functions
- Formatting functions
- The Common Dialog Box
- What the common dialog box does
- Adding the Common Dialog Box control
- Generating common dialog boxes
- Managing Files
- File concepts
- Working with files
- Reading and Writing Data
- Writing to files with Write #
- Reading files with Input #
- Using the EOF() function
- Reading records with Line Input #
- Database Processing
- Introduction to database processing
- Introducing the Data control
- Using a Data control
- Creating a Database
Application
- A simple but powerful application
- More about the Data control
- Accessing the database file
- Building the application
- Printing from an
Application
- Introducing printing
- Introducing the Printer object
- The Print method
- EndDoc and NewPage methods
- Preparing the user for printing
|