| |
| |
Introduction | |
| |
| |
| |
- At a Glance | |
| |
| |
| |
Welcome to Visual Basic | |
| |
| |
Visual Basic's Background | |
| |
| |
Why Write Programs? 9 | |
| |
| |
Creating Your First Program | |
| |
| |
Event-Driven Programming | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Working with Visual Basic | |
| |
| |
Understanding the Visual Basic Environment | |
| |
| |
Getting Help | |
| |
| |
Getting Used to the Screen | |
| |
| |
Creating an Application from Scratch | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Managing Controls | |
| |
| |
Studying Controls | |
| |
| |
Control Focus | |
| |
| |
Event Procedures | |
| |
| |
Using Bonus Projects | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Controls, Properties, and Events | |
| |
| |
The Visual Elements | |
| |
| |
Adding the Code | |
| |
| |
Analysis | |
| |
| |
| |
Creating Menus | |
| |
| |
Using the Application Wizard for Menus | |
| |
| |
Learning About Menus | |
| |
| |
Introducing the Menu Editor | |
| |
| |
Working with the Menu Editor | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Analyzing VB Data | |
| |
| |
A Few Preliminaries | |
| |
| |
Working Inside the Code Window | |
| |
| |
The Data in Visual Basic | |
| |
| |
Working with Variables | |
| |
| |
Using Variable Storage | |
| |
| |
Visual Basic's Operators | |
| |
| |
Analyzing the Order of Operators | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Variables and Expressions | |
| |
| |
Analysis | |
| |
| |
| |
Controlling Programs | |
| |
| |
Conditional Operators | |
| |
| |
Conditional Data | |
| |
| |
Combining Conditional Operators with Logical Operators | |
| |
| |
The If Statement Uses Conditional Operators | |
| |
| |
Completing the If with Else | |
| |
| |
An Early Exit | |
| |
| |
Nesting If...Else Statements | |
| |
| |
Selecting with Select Case | |
| |
| |
Repeat Code with Loops | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Advanced Keyboard and Screen Support | |
| |
| |
Introduction to Internal Functions | |
| |
| |
Let the User Respond with MsgBox() | |
| |
| |
Getting Input with InputBox() | |
| |
| |
Handling the Keyboard | |
| |
| |
Additional Controls | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
User Input and Conditional Logic.Creating the Initial Form | |
| |
| |
The Startup Form's Analysis | |
| |
| |
Creating the Check Box Form | |
| |
| |
The Check Box Form's Analysis | |
| |
| |
Creating the Option Button Form | |
| |
| |
The Option Button Form's Analysis | |
| |
| |
| |
In Review | |
| |
| |
| |
At a Glance | |
| |
| |
| |
The Nature Of VB Programs | |
| |
| |
Mastering Program Structure | |
| |
| |
Calling General Procedures | |
| |
| |
Internal Functions | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
The Dialog Box Control | |
| |
| |
The Need for a Common Dialog Box | |
| |
| |
Adding the Common Dialog Box Control | |
| |
| |
Working with the Common Dialog Box Control | |
| |
| |
Producing the Color Dialog Box | |
| |
| |
Handling the Cancel Button | |
| |
| |
Producing the Font Dialog Box | |
| |
| |
Help with Setting Controls | |
| |
| |
Producing File Open Dialog Boxes | |
| |
| |
Producing the File Save Dialog Box | |
| |
| |
Producing the Print Dialog Box | |
| |
| |
The Help Dialog Box | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Adding Power with the Mouse and Controls | |
| |
| |
Responding to the Mouse | |
| |
| |
List Box Controls | |
| |
| |
The Timer Control | |
| |
| |
Working with Arrays | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Multiple List Boxes | |
| |
| |
Preparing for Multiple Selections | |
| |
| |
Adding the Code | |
| |
| |
Analysis | |
| |
| |
| |
Practice with the Mouse | |
| |
| |
Changing the Mouse Icon | |
| |
| |
Programming the Mouse | |
| |
| |
Entering the Code | |
| |
| |
Analysis | |
| |
| |
Implementing Automatic Drag-and-Drop | |
| |
| |
Implementing Manual Drag-and-Drop | |
| |
| |
| |
Working with Forms | |
| |
| |
Properties, Events, and Methods | |
| |
| |
Form Collections | |
| |
| |
Placing Text on Forms | |
| |
| |
Creating New Properties for Forms | |
| |
| |
Multiple Forms | |
| |
| |
Placing Toolbars on Forms | |
| |
| |
Adding Coolbars | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Interact with Files | |
| |
| |
Working with Files | |
| |
| |
Working with Sequential-Access Files | |
| |
| |
Working with Random-Access Files | |
| |
| |
Using the File Controls | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
Quiz | |
| |
| |
| |
Reading and Writing Files | |
| |
| |
Creating the Interface | |
| |
| |
Entering the Cod | |