-
Chapter 1 Introducing .NET
-
Before .NET
-
Back to Introducing .NET
-
The .NET Object
-
The Parts of the .NET Framework
-
From Source Code to EXE
-
What About Visual Studio and Visual Basic?
-
Visual Studio 2008
-
Summary
-
Project
-
-
Chapter 2 Introducing Visual Basic
-
The History of the Visual Basic Revolution
-
Visual Basic from the Inside Out
-
The Basics of Logic and Data
-
Data Types and Variables
-
Intermission
-
Comments
-
Option Statements
-
Basic Operators
-
Using Functions and Subroutines
-
Conditions
-
Loops
-
Creating Your Own Procedures
-
Other Flow Control Features
-
Events and Event Handlers
-
Namespaces
-
The My Namespace
-
Summary
-
Project
-
-
Chapter 3 Introducing the Project
-
The Library Project
-
The Needs of the Users
-
The Life of a Project
-
Summary
-
Project
-
-
Chapter 4 Designing the Database
-
Relational Databases
-
SQL Server 2005
-
SQL
-
Using Databases in Visual Basic
-
Documenting the Database
-
Summary
-
Project
-
-
Chapter 5 .NET Assemblies
-
What Is an Assembly?
-
What's Inside an Assembly?
-
Assemblies and Applications
-
The My Namespace and Assemblies
-
Directives and Assemblies
-
Summary
-
Project
-
-
Chapter 6 Data and Data Types
-
The Nature of Computer Data
-
Data in .NET
-
Visual Basic Data Types
-
Literals
-
Constants
-
Enumerations
-
Variables
-
Variable and Constant Naming Conventions
-
Local Type Inference
-
Operators
-
Static Variables
-
Arrays
-
Nullable Types
-
Common Visual Basic Functions
-
Summary
-
Project
-
-
Chapter 7 Windows Forms
-
Inside a Windows Application
-
Windows in .NET
-
Making Forms Useful
-
Summary
-
Project
-
-
Chapter 8 Classes and Inheritance
-
Object-Oriented Programming Concepts
-
OOP in Visual Basic and .NET
-
Related Issues
-
Summary
-
Project
-
-
Chapter 9 Functional Programming
-
Lambda Expressions
-
Object Initializers
-
Error Handling in Visual Basic
-
The Nature of Errors in Visual Basic
-
Unstructured Error Handling
-
Structured Error Handling
-
Unhandled Errors
-
Managing Errors
-
Summary
-
Project
-
-
Chapter 10 ADO.NET
-
What Is ADO.NET?
-
Overview of ADO.NET
-
Data Sets Versus No Data Sets
-
Connecting to SQL Server with Visual Studio
-
Interacting with SQL Server in Code
-
Database Transactions
-
ADO.NET Entity Framework
-
Summary
-
Project
-
-
Chapter 11 Security
-
Security Features in .NET
-
Cryptography and Encryption
-
Encryption in .NET
-
Other Security Features
-
Summary
-
Project
-
-
Chapter 12 Overloads and Extensions
-
What Is Operator Overloading?
-
What Can You Overload?
-
Other Operator Overloading Issues
-
Extension Methods
-
Summary
-
Project
-
-
Chapter 13 XML
-
What Is XML?
-
The XML Rule
-
XML Content
-
Using XML in .NET: The Old Way
-
Using XML in .NET: The New Way
-
Summary
-
Project
-
-
Chapter 14 Application Settings
-
A Short History of Settings
-
Settings in Visual Basic 2008
-
Summary
-
Project
-
-
Chapter 15 Files and Directories
-
Traditional Visual Basic File Management
-
Manipulating Files Through Streams
-
File Management with the My Namespace
-
Summary
-
Project
-
-
Chapter 16 Generics
-
What Are Generics?
-
Variations of Generic Declaration
-
Summary
-
Project
-
-
Chapter 17 LINQ
-
What Is LINQ?
-
Anonymous Types
-
LINQ to Objects
-
Basic Query Expressions
-
Converting Results to Other Forms
-
Aggregate Queries
-
Advanced Query Expressions
-
LINQ to XML
-
LINQ for ADO.NET-Related Data
-
Deferred Execution
-
Summary
-
Project
-
-
Chapter 18 User Interface
-
Overview of GDI+
-
Selecting a Canvas
-
Choosing Pens and Brushes
-
Flowing Text from the Font
-
Imagining Images
-
Exposing Your True Artist
-
Paths: Drawings on Macro-Vision
-
Keeping It Regional
-
Twisting and Turning with Transformations
-
Enhancing Controls Through Owner Draw
-
Windows Presentation Foundation
-
Enhancing Classes with Attributes
-
Summary
-
Project
-
-
Chapter 19 Localization and Globalization
-
Defining Globalization and Localization
-
Resource Files
-
The My.Resources Object
-
Localizing Forms Within Visual Studio
-
Adding Resources Outside Visual Studio
-
Manually Compiling Resources
-
Other Localization Features
-
Summary
-
Project
-
-
Chapter 20 Printing
-
Printing in Windows
-
Printing in .NET
-
Printing a Document
-
Print Preview
-
Counting and Numbering Pages
-
Printing in "Raw" Mode
-
Summary
-
Project
-
-
Chapter 21 Reporting
-
Report Options in .NET
-
Using Reporting Controls in .NET
-
Summary
-
Project
-
-
Chapter 22 Licensing Your Application
-
Software Licensing Options
-
License Agreements
-
Obfuscation
-
The Library Licensing System
-
Summary
-
Project
-
-
Chapter 23 Web Development
-
How the Internet Works
-
Programming the Internet
-
ASP.NET Features
-
Trying Out ASP.NET
-
More About Events
-
State and View State
-
Data Validation
-
Database Integration
-
Windows Communication Foundation
-
Summary
-
Project
-
-
Chapter 24 Adding Online Help
-
Windows Online Help Options
-
Designing HTML Help
-
Accessing HTML Help
-
Summary
-
Project
-
-
Chapter 25 Deployment
-
What's Involved in Deployment?
-
Deployment Methods Within Visual Studio
-
Summary
-
Project
-
-
Chapter 26 Project Complete
-
The Library Project
-
Visual Basic Flexibility
-
The Programming Mindset
-
Summary
-
-
Appendix Installing the Software
-
Download the Software
-
Install the Software
-
Install Project Templates
-
Install Code Snippets
-
Bar Code Support
-
-
Appendix Software License Agreement
-
Terms of Use
-
-
Colophon
- Title:
- Programming Visual Basic 2008
- By:
- Tim Patrick
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- May 2008
- Ebook Release:
- December 2008
- Pages:
- 784
- Print ISBN:
- 978-0-596-51843-1
- | ISBN 10:
- 0-596-51843-9
- Ebook ISBN:
- 978-0-596-15938-2
- | ISBN 10:
- 0-596-15938-2
The animal on the cover of Programming Visual Basic 2008 is a bufflehead duck (Bucephala albeola). The name bufflehead derives from the words "buffalo" and "head," referring to the bulbous head shape distinctive to this species. Male buffleheads are black and white with a large white patch extending from the eye to the back of the head; females are paler, smaller, and have a small white cheek patch. Both sexes are characterized by short necks and narrow gray bills.
Ranging in size from 13 to 16 inches and 9 to 22 ounces, buffleheads are the smallest diving ducks in North America. Unlike other diving ducks, they are able to take flight directly from the water without having to run along the surface. They live by lakes, rivers, and bays in Canada and the northern U.S., migrating to coastal water on the Atlantic, Pacific, and Gulf coasts as far south as Mazatlan in the winter months. They nest in aspen and poplar cavities excavated by northern flickers and pileated woodpeckers.
The bufflehead diet consists of fresh- and saltwater insects, snails, crustaceans, and plants. They dive for their food and swallow it underwater. Bufflehead ducks tend to stay in a group, one or two of them feeding while the others stand watch for any potential danger. Although not prized among duck hunters, buffleheads are hunted for sport in the U.S. and Canada and comprise approximately two percent of North American waterfowl hunting. Their status is not currently threatened, but habitat degradation is an increasing concern. Because the ducks return to the same breeding ground each year, overharvesting and deforestation could have a devastating impact on their population if not carefully monitored.
