Book description
PRE-PUBLICATION REVIEWER TESTIMONIALS
“The discussion of object-oriented programming is one of
the best available.”
—Gavin Osborne, Saskatchewan Institute of Applied Science
& Technology
“The explanation of UML, intelligently integrated into the
book, conveys the heart and soul of true object oriented
architecture and engineering.”
—Jeff Jones, Route Match Software
“The optional ATM OOD/UML case study is excellent! The
implementation of the design gives the reader a fantastic model of
a real world problem. You hit a home run with this
one.”
—Catherine Wyman, Devry-Phoenix
“A superb job of clearly integrating the theory of
relational databases and SQL with the application of
ADO.NET.”
—Harlan Brewer, SES Consulting
“Really nails most everything you need to know about
handling exceptions in VB.”
—Eric Gruber, Microsoft
“Excellent coverage of the most important features and
techniques of developing ASP.NET 2.0 applications, with plenty of
sample code.”
—Peter Bromberg, Senior Enterprise Architect, VOIP,
Inc.
“A very impressive introduction to XML.”
—John Z. Chen, Microsoft
“An excellent chapter on Web services with great
examples.”
—Chadi Boudiab, Georgia Perimeter College
“The best description of generics I’ve
seen!”
—James Huddleston, Independent Consultant
The practicing programmer’s DEITEL® guide to Visual Basic and the powerful Microsoft .NET Framework
Written for C#, C++, Java or other-high level language programmers, this book applies the Deitel signature live-code approach to teaching programming and explores Microsoft’s Visual Basic language and the new .NET 2.0 in depth. The book is updated for Visual Studio® 2005 and presents Visual Basic concepts in fully tested programs, complete with syntax shading, line-by-line code descriptions, and program outputs. The book features 200+ applications with 16,000+ lines of proven Visual Basic code, and hundreds of programming tips that help you build robust applications.
Start with a concise introduction to Visual Basic fundamentals using an early classes and objects approach, then rapidly move on to more advanced topics, including multithreading, XML, ADO.NET 2.0, ASP.NET 2.0, Web services, network programming, .NET remoting, generics and collections. Along the way you’ll enjoy the Deitels’ classic treatment of object-oriented programming and a new, OOD/UML™ ATM case study, including a complete Visual Basic implementation. When you are finished, you’ll be well on your way to building next generation Windows applications, Web applications, and Web services.
Paul J. Deitel and Harvey M. Deitel are the founders of Deitel & Associates, Inc., the internationally recognized programming languages content-creation and corporate training organization. Together with their colleagues at Deitel & Associates, Inc., they have written many international best-selling programming languages textbooks and professional books that millions of people worldwide have used to master C, C++, Java™, C#, XML, Visual Basic®, Perl, Python, and Internet and Web programming.
The DEITEL® Developer Series presents focused treatments of leading-edge technologies, including .NET development, Java development, Web services, and more.
Practical, Example-Rich Coverage Of:
Visual Basic 2005, .NET 2.0, FCL
ASP.NET 2.0, Web Forms and Controls
Database, SQL, and ADO.NET 2.0
Networking and .NET Remoting
XML, Web Services
Generics, Collections
GUI/Windows® Forms
OOP: Classes, Inheritance, and Polymorphism
OOD/UML™ ATM Case Study
Graphics and Multimedia
Multithreading
Exception Handling
And more...
VISIT WWW.DEITEL.COM
Download code examples
Check out the extensive Visual Basic Resource Center
Check out the growing list of programming, Web 2.0, and software-related Resource Centers
To receive updates on this book, subscribe to the free DEITEL® BUZZ ONLINE e-mail newsletter at www.deitel.com/newsletter/subscribe.html
Read archived issues of the DEITEL® BUZZ ONLINE
Contact deitel@deitel.com for information on corporate training courses delivered on-site worldwide
CD contains Microsoft’s Visual Basic 2005 Express
Edition
Table of contents
- Copyright
-
Introduction to .NET, Visual Basic and Object Technology
- Introduction
- Microsoft’s Windows® Operating System
- Visual Basic
- The Internet and the World Wide Web
- Extensible Markup Language (XML)
- Microsoft’s .NET
- The .NET Framework and the Common Language Runtime
- Test-Driving a Visual Basic Application
- (Only Required Section of the Case Study) Software Engineering Case Study: Introduction to Object Technology and the UML
- Wrap-Up
- Web Resources
- Introduction to the Visual Basic Express 2005 IDE
-
Introduction to Visual Basic Programming
- Introduction
- Displaying a Line of Text
- Creating A Console Application in Visual Basic Express
- Displaying a Single Line of Text with Multiple Statements
- Adding Integers
- Arithmetic
- Decision Making: Equality and Relational Operators
- Using a Message Dialog to Display a Message
- (Optional) Software Engineering Case Study: Examining the ATM Requirements Document
- Wrap-Up
- Web Resources
-
Introduction to Classes and Objects
- Introduction
- Classes, Objects, Methods and Instance Variables
- Declaring a Class with a Method and Instantiating an Object of a Class
- Declaring a Method with a Parameter
- Instance Variables and Properties
- Value Types and Reference Types
- Initializing Objects with Constructors
- Validating Data with Set Accessors in Properties
- (Optional) Software Engineering Case Study: Identifying the Classes in the ATM Requirements Document
- Wrap-Up
-
Control Statements: Part 1
- Introduction
- Control Structures
- If...Then Selection Statement
- If...Then...Else Selection Statement
- While Repetition Statement
- Do While...Loop Repetition Statement
- Do Until...Loop Repetition Statement
- Compound Assignment Operators
- Counter-Controlled Repetition
- Sentinel-Controlled Repetition
- Nested Control Statements
- Nested Repetition Statements
- Visual Basic Programming in a Windows Application
- (Optional) Software Engineering Case Study: Identifying Class Attributes in the ATM System
- Wrap-Up
-
Control Statements: Part 2
- Introduction
- Essentials of Counter-Controlled Repetition
- For...Next Repetition Statement
- Examples Using the For...Next Statement
- GradeBook Case Study: Select...Case Multiple-Selection Statement
- Do...Loop While Repetition Statement
- Do...Loop Until Repetition Statement
- Using the Exit Statement in Repetition Statements
- Using the Continue Statement in Repetition Statements
- Logical Operators
- (Optional) Software Engineering Case Study: Identifying Objects’ States and Activities in the ATM System
- Software Engineering Case Study Self-Review Exercises
- Wrap-Up
-
Methods: A Deeper Look
- Introduction
- Modules, Classes and Methods
- Subroutines: Methods That Do Not Return a Value
- Functions: Methods That Return a Value
- Shared Methods and Class Math
- GradeBook Case Study: Declaring Methods with Multiple Parameters
- Notes on Declaring and Using Methods
- Method Call Stack and Activation Records
- Implicit Argument Conversions
- Option Strict and Data-Type Conversions
- Value Types and Reference Types
- Framework Class Library Namespaces
- Passing Arguments: Pass-by-Value vs. Pass-by-Reference
- Scope of Declarations
- Case Study: Random Number Generation
- Case Study: A Game of Chance
- Method Overloading
- Optional Parameters
- Recursion
- (Optional) Software Engineering Case Study: Identifying Class Operations in the ATM System
- Wrap-Up
-
Arrays
- Introduction
- Arrays
- Declaring and Allocating Arrays
- Examples Using Arrays
- Case Study: Card Shuffling and Dealing Simulation
- Passing an Array to a Method
- For Each...Next Repetition Statement
- GradeBook Case Study: Using an Array to Store Grades
- Rectangular Arrays
- GradeBook Case Study: Using a Rectangular Array
- Variable-Length Parameter Lists
- Jagged Arrays
- Changing the Size of an Array at Execution Time: Using the ReDim Statement
- Passing Arrays: ByVal vs. ByRef
- (Optional) Software Engineering Case Study: Collaboration Among Objects in the ATM System
- Wrap-Up
-
Classes and Objects: A Deeper Look
- Introduction
- Time Class Case Study
- Class Scope
- Default and Parameterless Constructors
- Time Class Case Study: Overloaded Constructors
- Partial Classes
- Composition
- Using the Me Reference to Access the Current Object
- Garbage Collection
- Shared Class Members
- Const and ReadOnly Members
- Object Browser
- Time Class Case Study: Creating Class Libraries
- (Optional) Software Engineering Case Study: Starting to Program the Classes of the ATM System
- Wrap-Up
- Object-Oriented Programming: Inheritance
-
Object-Oriented Programming: Polymorphism
- Introduction
- Polymorphic Video Game
- Demonstrating Polymorphic Behavior
- Abstract Classes and Methods
- Case Study: Payroll System Class Hierarchy Using Polymorphism
- NotOverridable Methods and NotInheritable Classes
- Case Study: Creating and Using Interfaces
- (Optional) Software Engineering Case Study: Incorporating Inheritance and Polymorphism into the ATM System
- Wrap-Up
- Exception Handling
- Graphical User Interface Concepts: Part I
- Graphical User Interface Concepts: Part 2
-
Multithreading
- Introduction
- Thread States: Life Cycle of a Thread
- Thread Priorities and Thread Scheduling
- Creating and Executing Threads
- Thread Synchronization and Class Monitor
- Producer/Consumer Relationship without Thread Synchronization
- Producer/Consumer Relationship with Thread Synchronization
- Producer/Consumer Relationship: Circular Buffer
- Multithreading with GUIs
- Wrap-Up
-
Strings, Characters and Regular Expressions
- Introduction
- Fundamentals of Characters and Strings
- String Constructors
- String Indexer, Length Property and CopyTo Method
- Comparing Strings
- Locating Characters and Substrings in Strings
- Extracting Substrings from Strings
- Concatenating Strings
- Miscellaneous String Methods
- Class StringBuilder
- Length and Capacity Properties, EnsureCapacity Method and Indexer of Class StringBuilder
- Append and AppendFormat Methods of Class StringBuilder
- Insert, Remove and Replace Methods of Class StringBuilder
- Char Methods
- Card Shuffling and Dealing Simulation
- Regular Expressions and Class RegEx
- Wrap-Up
-
Graphics and Multimedia
- Introduction
- Drawing Classes and the Coordinate System
- Graphics Contexts and Graphics Objects
- Color Control
- Font Control
- Drawing Lines, Rectangles and Ovals
- Drawing Arcs
- Drawing Polygons and Polylines
- Advanced Graphics Capabilities
- Introduction to Multimedia
- Loading, Displaying and Scaling Images
- Animating a Series of Images
- Windows Media Player
- Microsoft Agent
- Wrap-Up
-
Files and Streams
- Introduction
- Data Hierarchy
- Files and Streams
- Classes File and Directory
- Creating a Sequential-Access Text File
- Reading Data from a Sequential-Access Text File
- Case Study: A Credit-Inquiry Program
- Serialization
- Creating a Sequential-Access File Using Object Serialization
- Reading and Deserializing Data from a Sequential-Access Text File
- Wrap-Up
-
Extensible Markup Language (XML)
- Introduction
- XML Basics
- Structuring Data
- XML Namespaces
- Document Type Definitions (DTDs)
- W3C XML Schema Documents
- (Optional) Extensible Stylesheet Language and XSL Transformations
- (Optional) Document Object Model (DOM)
- (Optional) Schema Validation with Class XmlReader
- (Optional) XSLT with Class XslCompiledTransform
- Wrap-Up
- Web Resources
-
Database, SQL and ADO.NET
- Introduction
- Relational Databases
- Relational Database Overview: Books Database
- SQL
- ADO.NET Object Model
- Programming with ADO.NET: Extracting Information from a Database
- Querying the Books Database
- Programming with ADO.NET: Address Book Case Study
- Using a DataSet to Read and Write XML
- Wrap-Up
- Web Resources
- ASP.NET 2.0, Web Forms and Web Controls
- Web Services
-
Networking: Streams-Based Sockets and Datagrams
- Introduction
- Connection-Oriented vs. Connectionless Communication
- Protocols for Transporting Data
- Establishing a Simple TCP Server Using Stream Sockets
- Establishing a Simple TCP Client Using Stream Sockets
- Client/Server Interaction with Stream-Socket Connections
- Connectionless Client/Server Interaction with Datagrams
- Client/Server Tic-Tac-Toe Using a Multithreaded Server
- WebBrowser Class
- .NET Remoting
- Wrap-Up
- Data Structures
- Generics
- Collections
- Operator Precedence Chart
- Number Systems
- Using the Visual Studio 2005 Debugger
- ASCII Character Set
- Unicode®
- Introduction to XHTML: Part 1
- Introduction to XHTML: Part 2
- XHTML Special Characters
- XHTML Colors
- ATM Case Study Code
- UML 2: Additional Diagram Types
- Primitive Types
- CD-ROM Warranty
- Index
Product information
- Title: Visual Basic 2005 for Programmers: Deitel Developer Series, Second Edition
- Author(s):
- Release date: June 2006
- Publisher(s): Pearson
- ISBN: 9780132251402
You might also like
book
Programming Visual Basic 2005
This newest programming guide by bestselling author Jesse Liberty isn't your typical Visual Basic book. It's …
book
Visual Basic 2012 Programmer's Reference
The comprehensive guide to Visual Basic 2012 Microsoft Visual Basic (VB) is the most popular programming …
book
Visual Basic 2005 Cookbook
This book will help you solve more than 300 of the most common and not-so-common tasks …
book
Build Your Own ASP.NET 4 Web Site Using C# & VB, 4th Edition
Build Your Own ASP.NET 4 Web Site Using C# & VB is aimed at beginner ASP.NET …