Preface | p. xvii |
Development Life Cycle | p. 1 |
An Introduction to RAD with Visual Basic | p. 3 |
Introduction to Rapid Application Development | p. 4 |
Avoiding the Pitfalls of RAD | p. 6 |
A Brief History of Visual Basic | p. 9 |
Software Life-Cycle Models | p. 10 |
Example Programs | p. 13 |
Overview of the Visual Basic Environment | p. 15 |
Introduction | p. 16 |
Creating a New Project | p. 16 |
The Toolbox | p. 19 |
Forms | p. 22 |
Code Windows | p. 23 |
The Project Explorer | p. 23 |
The Properties Window | p. 23 |
The Form Layout Window | p. 24 |
The Project Properties Dialog | p. 24 |
Project References and Components | p. 30 |
The Object Browser | p. 32 |
The Procedure Attributes Dialog | p. 35 |
Add-Ins | p. 36 |
The Options Dialog | p. 37 |
New Features in Visual Basic 6 | p. 39 |
Requirements Gathering, Documentation, and Analysis | p. 47 |
Requirements Gathering | p. 48 |
Documentation | p. 48 |
Analysis | p. 51 |
Designing vb Software | p. 57 |
Systems Architecture versus Software Architecture | p. 59 |
Systems Architecture: The Big Picture | p. 60 |
Client-Server Model | p. 61 |
Layered Application Development | p. 63 |
General Coding Practices | p. 67 |
A Quick Basic Review | p. 68 |
Declaring Variables | p. 68 |
Declaring Constants | p. 70 |
Option Explicit | p. 71 |
VB Data Types | p. 73 |
Data Conversion Functions | p. 77 |
Variable Scope and Lifetime | p. 78 |
Static Variables | p. 81 |
Public versus Private Variables | p. 82 |
Arrays | p. 84 |
Control Statements | p. 88 |
Standard Program Modules | p. 98 |
Some Good Programming Practices to Follow | p. 104 |
Common Mistakes and How to Avoid Them | p. 107 |
Version Control | p. 112 |
Coding Standards | p. 117 |
Why Have Coding Standards? | p. 118 |
Creating Coding Standards | p. 119 |
Naming Conventions | p. 123 |
Commenting Standards | p. 126 |
Code Construction Standards | p. 129 |
Enforcing Coding Standards | p. 131 |
User Interface Design | p. 133 |
The Elements of a Good User Interface | p. 134 |
Object-Oriented Design in Visual Basic | p. 147 |
Introduction to Object-Oriented Programming | p. 148 |
The Aspects of Object-Oriented Programming | p. 152 |
Is Visual Basic Object Oriented? | p. 154 |
COM | p. 155 |
Practical Object Modeling in Visual Basic | p. 158 |
Using Callbacks | p. 169 |
Collections of Objects | p. 169 |
Implementation | p. 183 |
Database Design for Visual Basic | p. 185 |
Overview of Database Design | p. 186 |
Organizing the Data | p. 188 |
The Elements of a Database | p. 189 |
Normalization | p. 197 |
Using the Visual Data Manager | p. 203 |
Data Access | p. 207 |
Flat Files | p. 208 |
Working with Databases | p. 223 |
Embedded and Dynamic SQL | p. 238 |
The Complaints Program | p. 249 |
Embedded SQL | p. 258 |
Multiuser Considerations | p. 259 |
Putting It All Together | p. 271 |
Making Databases and Objects Work Together | p. 272 |
Sharing Components | p. 274 |
Advanced Topics in Visual Basic | p. 275 |
Threads, Processes, and Asynchronous Program Flow | p. 276 |
Processes and Threads | p. 277 |
Choosing a Server Type | p. 283 |
Building a Dynamic Link Library | p. 286 |
ActiveX Controls | p. 301 |
ActiveX Documents | p. 327 |
Building Your Own Web Browser | p. 332 |
Reviewing, Testing, And Distributing Software | p. 337 |
Debugging | p. 339 |
Introduction | p. 340 |
Debugging Tools and Windows | p. 341 |
Setting Breakpoints | p. 343 |
Stepping through Code | p. 343 |
Using Watch Expressions | p. 345 |
The Debug Object | p. 347 |
Tracking Down and Killing Bugs | p. 349 |
Handling Run-Time Errors | p. 349 |
Testing VB Applications | p. 369 |
The Importance of Documenting the Testing Process | p. 371 |
Testing for Proof of Concept | p. 371 |
Unit Testing | p. 372 |
Integration Testing | p. 373 |
System Testing | p. 373 |
Beta Testing | p. 374 |
Regression Testing | p. 376 |
Distributing the Software | p. 379 |
Identifying the Target Audience | p. 380 |
Creating a Setup Program for the Application | p. 380 |
Distribution of the Software | p. 392 |
Managing Scripts | p. 394 |
Patches and Updating Applications | p. 395 |
Code Samples | p. 397 |
Bank Simulation Program | p. 397 |
Reading Random Access Files | p. 401 |
Reading/Writing Binary Files | p. 402 |
Complaints Program: Illustrating SQL | p. 403 |
Statistics Library: clsStatistics Class | p. 405 |
Using the clsStatistics Object in Code | p. 407 |
Using the Web Browser Control | p. 411 |
An Error-Handling Add-In | p. 412 |
Index | p. 415 |
Table of Contents provided by Syndetics. All Rights Reserved. |