Programming Visual Basic 2005
This information-packed guide helps you understand Visual Basic 2005, the next-generation
release of the popular Visual Basic programming language. This book aims to make
you immediately productive in creating Windows and web applications using Visual
Basic 2005 and all of its tools. Perfect for experienced VB6 and novice programmers.
|
![]() |
Preface
Part I. Building Windows Applications
1. Design and First Forms
The Requirements
Getting Started
Creating
the Customer Detail Page
Summary
2. Data Access
Adding Data to the Customer
Page
Using the Details View to Create the Detail Form
Modify the Display with Events
3. Cool Controls
Adding a Menu and Toolbar
Displaying Web Documents
Masked
Text Box
Printing a Document
Copying Files Using Tree Views
4. Custom Controls
Custom Controls
Design
Building the Controls
Using the Custom Controls
5. GDI+ and Drawing
The Graphics Class
Implementing the Control
6. Mice and Fonts
Click the Mouse
7. Legacy COM Controls
Importing ActiveX Controls
Importing COM Components
Part II. Building Web Applications
8. Web Application, Design, and First Forms
Understanding
Web Forms
Getting Started
Adding
Controls
State
Lifecycle
Directives
9. Validation Controls
The RequiredFieldValidator
Client-Side Evaluation
The
Summary Validator
The Compare Validator
Range Checking
Regular Expressions
Custom Validation
Validation Groups
10. Master Pages and Navigation
Creating Master
Pages
Navigation
11. Web Data Access
Getting Data from a Database
Multiuser Updates
The DataList
Control
12. Personalization
Implementing Forms-Based
Security
Add Roles to ASP.NET Accounts
Create Personalized Web Sites
Personalize
with Complex Types
Anonymous Personalization
Themes and Skins
Web Parts
Enabling Editing and Layout Changes
13. Custom Controls
User Controls
Custom Controls
14. Web Services
Platform Independence
How Web Services Work
Creating a
Web Service
WebMethod Properties
Testing Your Web Service
Writing the Client
Part III. Programming with Visual Basic 2005
15. Visual Studio 2005
Start Page
Projects and Solutions
The Integrated
Development Environment (IDE)
Building and Running
16. Visual Basic 2005 Fundamentals
Types
Variables
Whitespace
Statements
Branching
Iteration Statements
Operators
17. Using Collections and Generics
Arrays
Generics
Queues
Stacks
Dictionaries
18. Object-Oriented Visual Basic 2005
Defining
Classes
Instantiating Objects
Scope
The Heap
Access
Modifiers
Method Arguments
Constructors
Initializers
Copy Constructors
Using Shared Members
Destroying
Objects
Overloading Methods and Constructors
Encapsulating Data with Properties
Specialization
and Generalization
Inheritance
Polymorphism
Abstract Classes
The Root of All Classes: Object
Boxing
and Unboxing Types
Interfaces
Interfaces Versus Abstract Base Classes
Defining
an Interface
Implementing an Interface
Index
См. также: