26 used & new from $2.42

Have one to sell? Sell yours here
 
 
Bug Proofing Visual Basic: A Guide to Error Handling and Prevention
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get your Kindle here.
 
  

Bug Proofing Visual Basic: A Guide to Error Handling and Prevention (Paperback)

~ (Author) "Programming is a mental task, yet many programmers work with no mental discipline..." (more)
Key Phrases: final compiled version, routine can fail, txt buffer, End Sub, Private Sub, Exit Sub (more...)
4.3 out of 5 stars  See all reviews (14 customer reviews)


Available from these sellers.


6 new from $41.73 20 used from $2.42

Customers Who Bought This Item Also Bought

Ready-to-Run Visual Basic(r) Code Library: Tips, Tricks, and Workarounds for Better Programming

Ready-to-Run Visual Basic(r) Code Library: Tips, Tricks, and Workarounds for Better Programming

by Rod Stephens
Ready-to-Run Visual Basic(r) Algorithms, 2nd Edition

Ready-to-Run Visual Basic(r) Algorithms, 2nd Edition

by Rod Stephens
Visual Basic 6 Black Book: The Only Book You'll Need on Visual Basic

Visual Basic 6 Black Book: The Only Book You'll Need on Visual Basic

by Steven Holzner
Programmimg Distributed Applications With Com+ and Microsoft Visual Basic  6.0 (Book & CD)

Programmimg Distributed Applications With Com+ and Microsoft Visual Basic 6.0 (Book & CD)

by Ted Pattison
Professional Excel Development: The Definitive Guide to Developing Applications Using Microsoft Excel, VBA, and .NET (2nd Edition)

Professional Excel Development: The Definitive Guide to Developing Applications Using Microsoft Excel, VBA, and .NET (2nd Edition)

by Rob Bovey
4.8 out of 5 stars (32)  $37.79
Explore similar items

Editorial Reviews

Product Description

A valuable collection of tools to prevent program bugs and to exterminate them when you find them. The longer a bug exists in a system, the harder it is to locate and repair. From Visual Basic guru Rod Stephens, this practical book outlines strategies for designing bug-free programs from the first line of code. It also shows how to test programs at crucial stages of development, how to locate and correct errors quickly, and how to repair programs damaged by bugs.


From the Back Cover

Prevent program bugs right from the start and quickly exterminate existing ones! Bug Proofing VISUAL BASIC(r) Let's face it, most programs with more than ten lines of code contain bugs. And as you know, the longer a bug exists in a system, the harder it becomes to locate and repair. Help is here! Packed with code, this practical guide shows you how to write effective, error-free programs and, best of all, how to test your programs at crucial stages of development. You'll find out how to handle unexpected bugs that do occur and how to locate and fix them quickly. You'll get bug prevention and repair techniques that just aren't available anywhere else! You'll get the kind of advice and information that usually only comes from years and years of hard-won experience! You'll find out: *How to design bug-free programs *How to code proactively to prevent bugs before they start *How to write code that exposes bugs instead of hiding them *How to catch bugs before they do any serious harm *How to find bugs using tools like the debugger and code profiler *How to use debug and runtime versions of a program to make debugging easier *How to use On Error statements to handle unexpected conditions *How to record information automatically, so you can fix bugs after users encounter them *How to use proven methods to find errors quickly *How to create and analyze special foolproof tests for errors.

Product Details

  • Paperback: 416 pages
  • Publisher: John Wiley & Sons; 1 edition (November 30, 1998)
  • Language: English
  • ISBN-10: 0471323519
  • ISBN-13: 978-0471323518
  • Product Dimensions: 9.2 x 7.5 x 1 inches
  • Shipping Weight: 1.5 pounds
  • Average Customer Review: 4.3 out of 5 stars  See all reviews (14 customer reviews)
  • Amazon.com Sales Rank: #1,520,894 in Books (See Bestsellers in Books)

    Popular in these categories: (What's this?)

    #62 in  Books > Computers & Internet > Programming > Software Design, Testing & Engineering > Quality Control
    #71 in  Books > Computers & Internet > Programming > Languages & Tools > Debugging

More About the Author

Rod Stephens
Discover books, learn about writers, read author blogs, and more.

Visit Amazon's Rod Stephens Page

Inside This Book (learn more)




What Do Customers Ultimately Buy After Viewing This Item?

Bug Proofing Visual Basic: A Guide to Error Handling and Prevention
88% buy the item featured on this page:
Bug Proofing Visual Basic: A Guide to Error Handling and Prevention 4.3 out of 5 stars (14)
Ready-to-Run Visual Basic(r) Code Library: Tips, Tricks, and Workarounds for Better Programming
12% buy
Ready-to-Run Visual Basic(r) Code Library: Tips, Tricks, and Workarounds for Better Programming 4.2 out of 5 stars (5)

Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organize and find favorite items.
Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

14 Reviews
5 star:
 (9)
4 star:
 (3)
3 star:    (0)
2 star:
 (1)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
4.3 out of 5 stars (14 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
6 of 6 people found the following review helpful:
5.0 out of 5 stars Great book. Paid for itself several times over, February 3, 1999
By A Customer
This is a great book on Bug Proofing your code. Very easy to read. Lots of useful tips in every chapter. Well organized... and contains ALOT of code examples.

If you're an advanced VB programmer (already have made many mistakes and have taken up defensive programming), this book could be reduced to 1/3 the size... and it would still be a great book.

I'll use code from this book. I particularly liked the discussion on how you could set a form (object) to Nothing and later in your code you reference a public variable in that form (and unbeknownst to you it loads again). This keeps the form loaded when you think it's not. He shows coded examples of this sequence.

After reading this book, I'm going to get his other VB Graphics book. He's a very good author.

One thing I wished he had covered was Error handling when using Access database routines (non-databound). I like to use subroutines that update separate tables, and I like to use .BeginTrans, etc. with the .Update method for the opened database. This allows me to simply use SQL statements.

In this case, I was looking for example code, or recommended logic for using multiple subroutines. Although he didn't specifically provide this, he did provide alot of ideas on how to control the Error calling sequence using the .Raise method. Thanks to his book I understand this process better and hope to solve this problem directly.

For the beginning programmer this is an excellent book for establishing your programming standards. You will make a great step forward in programming... although you may only understand 80 % of this book.

This should be in every VB programmers bookshelf.

John D.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
5 of 5 people found the following review helpful:
5.0 out of 5 stars Great book for eliminating errors and making revisions easy, October 13, 1999
I love this book. It is written in a clear, understandable, and logical style.

The author discusses a logical convention of how programmers may write their code so that it will be readable and understandable by the next programmer who may not be as knowledgeable. By using properly descriptive variables, clear comments, straight-forward code styles, and no corner cutting, an application can be debugged easily by another programmer long after the first programmer has left the company. This would be good for department managers in establishing project standards for multiple programmers.

Furthermore, logical methods are explained for capturing bugs that can be kept in or deleted from the compiled code without having to manually delete code lines before a compile. Rod Stephens's techniques have prevented me from making mistakes that it would take a professional programmer years to learn.

Finally, his website shows all of the errors in his book (very few) and provides downloads of all of the code including improvements in the end-of-chapter questions.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
11 of 14 people found the following review helpful:
2.0 out of 5 stars A valuable collection of tools -- I wish, December 27, 1999
By "yawning_now" (Indianapolis) - See all my reviews
Sorry, I read this book, but didn't think much of it. I was able to pick up a few valuable tidbits, but overall thought the book's title and promise didn't deliver.

Avoiding bugs, it seems, has much to do with following good programming practices and perhaps that should have been the book's title. Much wasted time is spent on telling us how to indent lines of code, how to line up our comments, and admonitions to fix our own bugs and to be alert when you test.

There was 20 pages of good stuff and the rest was fluff. It was as if Rod Stephens needed to put out a book fast and just shotgunned his many years of programming experience at us, hoping something would stick and save us from having too many bugs.

I realize I now own 4 of his books, but none are even in my top 10 Visual Basic books. If I could have read the book first and then paid for it, I would have paid 5 bucks.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

5.0 out of 5 stars Great to evangalize standards
I was trained in VB at a Fortune 1 company (narrows it down, eh?). I developed a very paranoid mindset with my development that I have not seen in others until I came across this... Read more
Published on June 27, 2002 by Tim Provencio

5.0 out of 5 stars A must have for any real VB programmer.
This book is a must have.

If you have ever written anything in VB, then you know how much of a pain Error Handling is. Read more

Published on October 5, 2000 by Eric D. Burdo

4.0 out of 5 stars a very reasonable book
A very reasonable book for someone to refresh the knowledge and fill the gaps about error handling in VB. Read more
Published on August 29, 2000 by Lawrence

1.0 out of 5 stars Beginners only book
I found this book to be only for beginners. It is very repetitive about a lot of stuff that you just know if you have programmed for more than a month. Read more
Published on January 15, 2000 by peptido

5.0 out of 5 stars A required reading for all of us.
It is a very good book. It's McConnel's Code Complete on Visual Basic. You've got to buy it!
Published on August 3, 1999

5.0 out of 5 stars A good book because it's lessons stick with you while coding
The rule format of the book is a great way to learn how to write good code. You find yourself quoting the book while your coding. Read more
Published on June 10, 1999

5.0 out of 5 stars Must Have
Should be a required reading for every single Visual Basic developer
Published on April 5, 1999

4.0 out of 5 stars Good treatment of VB error handling techniques.
For me, this book was at its best when Rod describes VB specific error raising and handling behaviors. Read more
Published on March 27, 1999

4.0 out of 5 stars Good for beginnners - might be too simple for others
This book gives a lot of tips but most of them are pretty thin on substance. Specifically, there is very little information particular to VB hazards or how to write an industrial... Read more
Published on March 22, 1999

5.0 out of 5 stars Must Have
I have several of Rod Stephen's books. Whenever I start with a new client I bring along my copies of his books on algorithms and graphics. When I saw this book I had to buy it. Read more
Published on January 18, 1999 by Patrick Birch

Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   



So You'd Like to...


Create a guide

Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.



Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.