Home > Store

Visual Basic 2008 How to Program

Register your product to gain access to bonus material or receive a coupon.

Visual Basic 2008 How to Program


  • Sorry, this book is no longer in print.
Not for Sale



  • Signature “Live Code™ Approach” — Language features are presented in the context of a wide variety of complete working programs.
    • Features thousands of lines of code in hundreds of complete working programs.
    • Enables students to confirm that programs run as expected.
    • Students can also download the code from the book's Companion Website (www.prenhall.com/deitel) or from the author's website (www.deitel.com).
  • Outstanding, consistent and applied pedagogy:
    • Icons throughout identify Software Engineering Observations; Good Programming Practices; Common Programming Errors; Portability Tips; Performance Tips, Testing and Debugging Tips, and Look-and-Feel Observations.
    • Full-color presentation, including syntax coloring, code highlighting and extensive comments
  • Includes optional case study on object-oriented design with UML.  Walks students through a system design that is clear to OOD and UML novices, while still demonstrating key OOD concepts and related UML modeling techniques.
  • Hundreds of interactive self-review questions and programming exercises Includes both simple and complex exercises that can easily be tailored to the needs of specific courses and instructors.


  • Copyright 2009
  • Edition: 1st
  • Book
  • ISBN-10: 0-13-605305-X
  • ISBN-13: 978-0-13-605305-7

The authoritative DEITEL® live-code introduction to object-oriented programming with Visual Basic® 2008, .NET 3.5, LINQ, WPF, ASP.NET AJAX, WCF web services and Silverlight™!

Visual Basic® is one of the world’s most popular object-oriented languages. This new edition uses a friendly, carefully paced approach to developing both desktop and web-based applications.


"Rich programming examples and explanations of the concepts. An enjoyable read—many ‘light bulb’ moments throughout. I’m a big fan of the gradually developed GradeBook case study! Building the ATM application chapter-by-chapter shows the amount of work in programming a major application. Excellent bank account [file processing] examples. The Silverlight™ Weather application is great." –James Keysor, Florida Institute of Tech.

"The best resource to learn object-oriented programming using VB 2008. I recommend this book to novices and advanced programmers." –Jesús Ubaldo Quevedo-Torrero, University of Wisconsin–Parkside, CS Dept.

"A comprehensive educational experience for the aspiring Visual Basic programmer. From the basics of control flow and data structures to advanced topics like multimedia, generics, Ajax and service protocols, this book teaches you everything you need to know to build great applications the right way." –Joe Stagner, Microsoft

"Superb job explaining inheritance. A well-designed introduction to WPF GUI. A good job explaining how XAML can be used to integrate with multimedia, graphics and the Internet." –Amit K. Ghosh, U. of Texas, El Paso

"The TV/Video Viewer is an excellent example which will enthuse students and help them see how complex graphics effects can be created easily in WPF. A good example of the power of data binding in WPF. An excellent introduction to SQL database queries and LINQ to SQL." –Ged Mead, Microsoft MVP (Visual Basic), DevCity.Net

"An excellent introduction to XML, LINQ to XML and related technologies."–Helena Kotas, Microsoft

"Very good introduction to WCF and web services protocols." –Marcelo Guerra Hahn, Microsoft

"Impressive introduction to collections and generics! " –Kim Hamilton, Microsoft

"I can’t wait to see what amazing things your readers do once they are armed with this newfound knowledge." –Chris Lovett, Software Architect, Microsoft

"Helps you create rich desktop-based Windows Forms or WPF applications, or scalable web-based applications using ASP.NET or Silverlight™." –Anand Mukundan, Polaris Software Lab Ltd.

Visual Basic® 2008 How to Program provides comprehensive object-oriented programming coverage and many integrated case studies: classes (GradeBook, Time, Employee), optional OOD/UMLTM 2 ATM system, WPF (painter, color chooser, clock, book cover viewer), multitier database-driven web applications (guest book, secure book database), WCF web services (blackjack, airline reservation system, equation generator) and Silverlight™ (weather viewer, Flickr™ viewer, deep zoom, video selector).

Paul J. Deitel and Dr. Harvey M. Deitel are the founders of Deitel & Associates, Inc., the internationally recognized corporate training, content creation and Internet business development organization specializing in Visual Basic®, C#, Visual C++¨, Java™, C, C++, XML, Internet, web and object technologies. The Deitels are the authors of many other best-selling textbooks, including Visual C#¨ 2008 How to Program, 3/e, Java™ How to Program, 7/e, Internet & World Wide Web How to Program, 4/e, andC++ How to Program, 6/e.

Visual Basic 2008 How to Program’s user resources include web sites (www.deitel.com and www.prenhall.com/deitel) with the book’s code examples and information for faculty, students and professionals. Contact the authors at deitel@deitel.com.
For information on corporate training worldwide, and to subscribe to the DEITEL¨ BUZZ newsletter, visit www.deitel.com.
Check out the Deitel Visual Basic® and related Resource Centers at www.deitel.com/ResourceCenters.html.
PRENTICE HALL Upper Saddle River, NJ 07458 www.prenhall.com

Sample Content

Table of Contents

1. Introduction to Computers, the Internet and Visual Basic. 

2. Introduction to the Visual Basic Express 2008 IDE.

3. Introduction to Visual Basic Programming. 

4. Introduction to Classes and Objects.

5. Control Statements: Part 1.

6. Control Statements: Part 2.

7. Methods: A Deeper Look.

8. Arrays.

9. Introduction to LINQ and Collections

10. Classes and Objects: A Deeper Look.

11. Object-Oriented Programming: Inheritance.

12. Object-Oriented Programming: Polymorphism.

13. Exception Handling.

14. Graphical User Interfaces with Windows Forms.

15. Graphical User Interfaces with Windows Presentation Foundation (WPF) and XAML.

16. Windows Presentation Foundation (WPF) Graphics.

17. Strings, Characters and Regular Expressions.

18. Files and Streams.

19. Extensible Markup Language (XML) and LINQ to XML.

20. Databases, LINQ to SQL

21. ASP.NET and ASP.NET Ajax.

22. Web Services and Windows Communication Foundation (WCF).

23. Microsoft® Silverlight™ and Rich Internet Applications.

24. Data Structures.and Generic Collections

Appendix A. Operator Precedence Chart.

Appendix B. Primitive Types. 

Appendix C. Number Systems.

Appendix D. Using the Visual Studio® Debugger.

Appendix E. ATM Case Study Code.

Appendix F. UML 2: Additional Diagram Types.

Appendix G. ASCII Character Set.

Appendix H. Unicode®.


Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership