Programming Visual Basic 2005
暫譯: 程式設計 Visual Basic 2005

Jesse Liberty

  • 出版商: O'Reilly
  • 出版日期: 2005-10-11
  • 售價: $1,590
  • 貴賓價: 9.5$1,511
  • 語言: 英文
  • 頁數: 576
  • 裝訂: Paperback
  • ISBN: 0596009496
  • ISBN-13: 9780596009496
  • 相關分類: Visual Basic
  • 已過版

買這商品的人也買了...

商品描述

Description:

This newest programming guide by bestselling author Jesse Liberty isn't your typical Visual Basic book. It's not a primer on the language, and it won't dull your brain with arguments hyping .NET either. Its goal, rather, is to make you immediately productive, creating Windows and Web applications using Visual Basic and its associated tools.


Written for experienced Visual Basic programmers (from either a VB6 or VB .NET background), the book shows how Visual Basic 2005 can be used to rapidly build modern web applications and new "Smart Client" applications, which combine the power of individual computers with network data resources to deliver a rich interactive experience. You'll also learn the details of building robust object-oriented applications, and a host of especially dangerous pitfalls to avoid when programming with Visual Basic 2005.


What makes this book different is what's not included. There's no introduction to Visual Basic, no explanation of how it fits into the .NET world. Why waste time reading about something you'll learn for yourself as soon as you start creating applications? You won't even write a "Hello World" program. With Jesse Liberty, you'll get started building something useful.


The book is divided into three separate parts--Building Windows Applications, Building Web Applications, and Programming with Visual Basic--each of which could be a book on its own. The author shares his thorough understanding of the subject matter through lucid explanations and intelligently designed lessons that guide you to increasing levels of expertise. By the time you've finished the book, you'll know how to program with VB 2005.


Jesse Liberty's books have successfully guided thousands of programmers into the world of .NET programming, and Programming Visual Basic 2005 will be no exception. This book is sure to become a key component in the libraries of .NET developers.

 

 

Table of Contents:

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

商品描述(中文翻譯)

**描述:**
這本由暢銷書作者 Jesse Liberty 所撰寫的最新程式設計指南,並不是一本典型的 Visual Basic 書籍。它不是語言的入門書,也不會用 .NET 的論點讓你感到困惑。相反,它的目標是讓你立即產生生產力,使用 Visual Basic 及其相關工具來創建 Windows 和 Web 應用程式。

這本書是為有經驗的 Visual Basic 程式設計師(無論是來自 VB6 還是 VB .NET 背景)所寫,展示了如何使用 Visual Basic 2005 快速構建現代 Web 應用程式和新的「智慧客戶端」應用程式,這些應用程式結合了個人電腦的強大功能與網路數據資源,提供豐富的互動體驗。你還將學習如何構建穩健的物件導向應用程式的細節,以及在使用 Visual Basic 2005 時需要避免的一系列特別危險的陷阱。

這本書的不同之處在於它所**不**包含的內容。沒有 Visual Basic 的介紹,也沒有解釋它如何融入 .NET 世界。為什麼要浪費時間閱讀一些你在開始創建應用程式時就會自己學到的東西呢?你甚至不會寫一個「Hello World」程式。在 Jesse Liberty 的指導下,你將開始構建一些有用的東西。

這本書分為三個獨立的部分——構建 Windows 應用程式、構建 Web 應用程式和使用 Visual Basic 程式設計——每一部分都可以成為一本獨立的書。作者通過清晰的解釋和精心設計的課程分享他對主題的透徹理解,指導你逐步提升專業知識。當你完成這本書時,你將知道如何使用 VB 2005 進行程式設計。

Jesse Liberty 的書籍成功地指導了成千上萬的程式設計師進入 .NET 程式設計的世界,而《Programming Visual Basic 2005》也不會例外。這本書肯定會成為 .NET 開發者圖書館中的關鍵組成部分。

**目錄:**
**前言**
**第一部分:構建 Windows 應用程式**
**1. 設計與第一個表單**
     需求
     開始
     創建客戶詳細頁面
     總結

**2. 數據存取**
     向客戶頁面添加數據
     使用詳細視圖創建詳細表單
     使用事件修改顯示

**3. 酷控件**
     添加菜單和工具欄
     顯示網頁文件
     遮罩文本框
     打印文檔
     使用樹狀視圖複製文件

**4. 自定義控件**
     自定義控件
     設計
     構建控件
     使用自定義控件

**5. GDI+ 和繪圖**
     圖形類
     實現控件

**6. 滑鼠與字型**
     點擊滑鼠

**7. 遺留 COM 控件**
     導入 ActiveX 控件
     導入 COM 組件

**第二部分:構建 Web 應用程式**
**8. Web 應用程式、設計與第一個表單**
     理解 Web 表單
     開始
     添加控件
     狀態
     生命週期
     指令

**9. 驗證控件**
     RequiredFieldValidator
     客戶端評估
     Summary Validator
     Compare Validator
     範圍檢查
     正則表達式
     自定義驗證
     驗證組

**10. 主頁面與導航**
     創建主頁面
     導航

**11. Web 數據存取**
     從數據庫獲取數據
     多用戶更新
     DataList 控件

**12. 個性化**
     實現基於表單的安全性
     向 ASP.NET 帳戶添加角色
     創建個性化網站
     使用複雜類型進行個性化
     匿名個性化
     主題與外觀
     Web 部件
     啟用編輯和佈局變更

**13. 自定義控件**
     用戶控件
     自定義控件

**14. Web 服務**
     平台獨立性
     Web 服務的工作原理
     創建 Web 服務
     WebMethod 屬性
     測試你的 Web 服務
     編寫客戶端

**第三部分:使用 Visual Basic 2005 程式設計**
**15. Visual Studio 2005**
     開始頁面
     專案與解決方案
     整合開發環境 (IDE)
     構建與運行

**16. Visual Basic 2005 基礎**
     類型
     變數
     空白
     語句
     分支
     迭代語句
     運算符

**17. 使用集合與泛型**
     數組
     泛型
     佇列
     堆疊
     字典

**18. 物件導向 Visual Basic 2005**
     定義類別
     實例化物件
     範圍
     堆
     存取修飾符
     方法參數
     建構函數
     初始化器
     複製建構函數
     使用共享成員
     銷毀物件
     方法與建構函數的重載
     使用屬性封裝數據
     專門化與一般化
     繼承
     多型
     抽象類別
     所有類別的根:Object
     裝箱與拆箱類型
     介面
     介面與抽象基類的比較
     定義介面
     實現介面

**索引**