Visual Basic 6

Visual Basic 6 : Error Coding and Layering

By (author) 

List price: US$34.99

Currently unavailable

Add to wishlist

AbeBooks may have this title (opens in new window).

Try AbeBooks


Introduces innovative, fully integrated technical and management strategies for improving the results of any Visual Basic 6 project, for analysts, programmers, and managers. Coverage includes creation of safe coding frameworks, layered techniques that simplify debugging and maintenance, preventing errors, and smart coding teams. Other subjects are error coding mechanics, programming architecture, and corporate more

Product details

  • Mixed media product | 260 pages
  • 177.8 x 223.52 x 20.32mm | 612.35g
  • Pearson Education (US)
  • Prentice Hall
  • Upper Saddle River, United States
  • English
  • w. figs.
  • 0130172278
  • 9780130172273

Table of contents

1. Your Software Development Mission. Drafting Your Mission. Retaining Corporate Knowledge. Standardizing the Creative Process. Error Coding. Coding Smarter. Identifying the Possible. Achieving the Possible. The Smart Coding Triangle. Barriers to Your Mission.2. Understanding the Barriers to Your Mission. Visual Basic Error Coding. Why Good Error Coding Is Seldom Achieved. "We Will Adapt." Achieving Good Error Coding. Barriers to Error Coding. Evaluating Error Coding. Barriers to Code Standardization. Barriers to Code Reuse. Eliminating the Barriers.3. Implementing Effective Error Coding. Raise Your Expectations. Manage Errors Early. Code Errors as You Go. Anticipate Errors. Prevent Errors. Handle Errors. Trap Errors. Report Errors. Avoid Assumptions. Design Functions for Reuse. Reuse Error Coding. Systematic Error Coding.4. Explicit Coding. Explicit Variable Usage. Arguments. Arrays. Coding Recommendations. Explicit Coding Is Fundamental.5. Error Coding Mechanics. Error Coding Is Not a Given. Visual Basic Error Handling. Without Error Handling. The Error Handler. On Error Resume Next. Error Suppression. On Error Goto. Resuming Program Execution. Multiple Error Handlers. Checking for Errors. Checking Err.Number. Handling the Error. Clearing the Error Object. Disabling the Error Handler. Scope of Error Handling. Error Bubbles. Errors within Errors. Changing Error Handlers. The Error Trap. The Error Trap Handler. Handling Errors In-Line. Raising Errors. Error Trap Block versus In-Line Error Handlers. When to Use the Error Trap Block. When to Use In-Line Error Handling. Avoiding Error Handling Completely.6. Error Prevention. Types of Errors. Types of Prevention. Preventing Coding Errors. Preventing User Errors. Form Preventative Habits.7. Safe Coding Framework. Reuse-Quality Routines. Safe Procedures. Safe Functions. Safe Error Messages. Defensive Functions. Defensive Subroutines. Safe Classes. Reuse of SPF Procedures. Self-Contained Procedures. Code Blocks. Naming Conventions. Arguments. Limited Scope. Counter Variables. Revision Numbering. Reuse-Quality Documentation. Cleanup. Using the SPF. Implementing the Standard.8. SPF Sampler. General Structure. Safe Error Utilities. Array Handling. Type Conversion and Data Validation. String Handling. Forms and Controls. Database Routines. Putting Safe Procedures to Work.9. Corporate Strategies. Smart Coding Teams. Cooperative Competition. Developing Your Standard. Creating Safe Procedures. Motivational Catalysis. Certifying for Reuse. Sharing Certified Procedures. Using Hyper-Libraries. Rewarding Lasting Contributions. Code Review through Certification. Adaptive Development. Eliminating Nontechnical Barriers. You're Not There Yet!10. Program Architecture. Modes of Program Failure. Beadwork Programs. Maintainability. Maintenance Nightmares. Implicit Business Logic. Architectural Dimensions. Lobes and Layers. Universal Layered Architecture. Reusable Layers. Layered Flow. Layering versus Binding. Layering versus Classes. Layering versus Tiers. Layer Packaging. Deploying Layers. Benefits of Layering. Layering Case Study. Datasets. Insulation from Technology Changes. Implementing a Layered Application.11. Designing a Layered Application. The Database. Planning Your Data Layer. Mapping Your Controls. Creating Your Layers. Pseudo-Coding the User Layer. Pseudo-Coding the Business Layer. Methods in the Data Layer. Methods in the User Connection Layer. Methods in the Data Connection Layer. Cool Features of Layered Applications. Creating a Safe Layered Library. Using Layer-Wrapped Controls. Take It from Here.12. Accomplishing Your Mission. Getting the Panoramic View. Assessing Your Success. Taking Your Next Steps. Keep the Ball Going!Appendix A: Naming Conventions. Appendix B: SPF Checklist. Appendix C: Certification Rating Sheet. more

About Tyson Gill

About the Author Tyson Gill is Senior Solutions Developer at WinResources Computing, Inc. in Carlsbad, California. He also teaches Visual Basic at the University of California San Diego. Prior to joining WinResources, he spent six years as an independent consultant, producing applications for a wide variety of clients in Southern California. Before coming to California, Tyson was Associate Scientist at the ICI Research Center in Ohio, where his software innovations earned him formal recognition as a "Key Corporate Asset." He holds a Master's degree in Chemistry from the University of Wisconsin. Tyson has contributed to books on Visual Basic and makes numerous presentations on Visual Basic program design, architecture, and error coding. He is active in the San Diego Visual Basic User's Group and has authored over a dozen technical articles. He also loves creative writing and has authored an unpublished novel and two screenplays. Tyson lives with his wife, Marcie, and teenage son, Rossen, near the ocean in Carlsbad, more