Pocket PC, Handheld PC Developer's Guide With Microsoft Embedded Visual Basic
暫譯: Pocket PC、手持式電腦開發者指南:使用 Microsoft Embedded Visual Basic

Nick Grattan

  • 出版商: Prentice Hall
  • 出版日期: 2001-09-27
  • 定價: $1,580
  • 售價: 5.0$790
  • 語言: 英文
  • 頁數: 432
  • 裝訂: Paperback
  • ISBN: 0130650773
  • ISBN-13: 9780130650771
  • 相關分類: 嵌入式系統Visual Basic
  • 立即出貨(限量) (庫存=1)

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

商品描述

Mobile solutions—in your pocket!

  • The complete guide for developing wireless applications using Microsoft(r) eMbedded Visual Basic(r)
  • Enterprise solutions, including XML, SQL, SOAP, and .NET
  • Fully illustrated with code examples, available live on CD-ROM
  • CD-ROM also contains the full version of Microsoft eMbedded Visual Basic and SDKs

The Pocket PC offers more wireless capabilities than any other handheld mobile device. Now you can use the power of Microsoft eMbedded Visual Basic to develop applications that allow you to manage connections to corporate networks, access data from any Web site, synchronize information with corporate databases, and call SOAP and .NET web services, all on your Pocket PC. This is the one book that provides comprehensive coverage of all these applications and more.

Developers at all levels can learn to take advantage of the Microsoft SDKs to interact with existing database and Internet applications, using such technologies as:

  • User interfaces for Pocket PC and Handheld PC 2000
  • SQL Server for Microsoft Windows(r) CE
  • XML and DOM
  • SOAP and .NET
  • HTTP and ASP

No other book provides more complete coverage in a single volume. Jump right into wireless mobile computing with the Pocket PC, Handheld PC Developer's Guide.

About the CD-ROM:

The CD-ROM includes live code for all the examples in the book, plus a full working copy of Microsoft eMbedded Visual Basic and SDKs.

Table of Contents

Preface.
Acknowledgments.
1. Introduction to eVB Development.

You, the Reader. What You Will Need. Pocket PC, Handheld PC 2000, and Other Devices. Pocket PC. Handheld PC 2000. Other Devices. Overview of eMbedded Visual Basic (eVB). Compared to Visual Basic 6.0. Using eMbedded Visual C++ (eVC). Emulation. Development Tools Installation. Creating a “Hello World” Application. Network Connections. Configuring HPC 2000 Network Support. Configuring Pocket PC Network Support. Platform Manager. Remote Tools. ActiveX Controls and the Windows CE Control Manager. Project Settings and Properties. Error Handling. eVB Data Types. Debugging. Conclusion.


2. Creating a User Interface.

The Pocket PC Interface. Managing Pocket PC MenuBars. Responding to Menu Selections. Using the New Button. Changing a Menu Item at Run Time. Accessing Menu Items at Run Time. Inserting and Deleting Menu Items. Adding MenuBar Buttons. Pocket PC Dialog Boxes. The HPC 2000 Interface. Designing Application Windows. Creating a Pocket PC Application Window. Creating an HPC 2000 Application Window. Conclusion.


3. ADOCE and ADOXCE.

Microsoft SQL Server for CE Features. The ADOCE 3.1 Architecture. Microsoft SQL Server for CE Installation. Installing ADOCE and ADOXCE on the Device. Copying SSCE Files. Installing ISQLW for Windows CE. Simple Database Operations. Creating a Database (Catalog). Opening and Closing Databases. Creating a Table. Adding Records. Listing Records. Using ISQLW_CE. Tables and Columns. Integer Data Types. Numeric, Float, Real, and Money Data Types. Binary, VarBinary, and Image Data Types. UniqueIdentifer Data Type and ROWGUIDCOL. The Identity Property. Null ability and Uniqueness. Referential Integrity and Primary and Foreign Keys. Default Values. Using DROP TABLE. Using ADOXCE With Tables. Indexes. Manipulating Data. Creating and Opening Databases. Error Handling. ADOCE Record sets and the SELECT Statement. INSERT, DELETE, and UPDATE Statements. Managing Transactions. Encryption and Password Protection. Compacting a Database. Creating a Database For Distribution. Conclusion.


4. SQL Server CE Remote Data Access and Replication.

Remote Data Access. RDA Installation and Configuration. Programming RDA. SQL Server CE Relay. Security. SQL Server Replication. Installation and Configuration. Programming Replication. Dealing with Conflicts. Conclusion.


5. HTTP and Internet Programming.

Using the WinSock Control. Sending Data with an HTTP GET. Sending Data with an HTTP POST. The HTTP Component. Making a Simple Request. Posting Data. Using NT Authentication. Using a Proxy Server. Conclusion.


6. XML and DOM.

XML. Document Object Model (DOM). Microsoft SQL Server 2000 and XML. Configuring XML Support. Creating a Template. Accessing a Template from evb. Parameterized Templates. Displaying XML Documents in a TreeView Control. Handling SQL Errors. Adding Data with Templates. Annotated Schemas and Xpath. ADO Recordsets and XML. Creating and Managing XML Documents with DOM. Creating XML Documents with Elements. Creating XML Documents with Attributes. Sending an XML Document to an ASP Page. Conclusion.


7. SOAP and .NET Web Services.

The Simple Object Access Protocol (SOAP). Installing SOAP 2.0 Toolkit. SOAP XML Document Structures. Making SOAP Calls from Pocket PC and HPC 2000 Applications. Using .NET Web Services. Creating a .NET Web Service with VB.NET. Calling Web Services with HTTP GET and POST. Calling Web Services with SOAP. Using Class Objects in .NET Web Service. Using ADO.NET DataSets. Conclusion.


8. Managing Connections with RAS.

Creating RAS Phone Book Entries. Listing RAS Phone Book Entries. Determining If a Connection Exists. Making an RAS Connection. Disconnecting an RAS Connection. Conclusion.


9. Pocket Outlook Object Model (POOM).

Overview of POOM Model. Logging on and POOM Version. Adding a Reference to PIMStore.DLL. Logon, Logoff, and Version Information. Folders and Items. Managing Contacts. Using OIDs. Finding and Restricting Items. Displaying Contacts. Managing Contacts. Managing Tasks. Managing Appointments. Conclusion.


10. The Object Store, File Input/Output, and the Registry.

The FileSystem Control. Folder Listing. File Listing. File Operations. The Object Store. Memory Status. Storage Cards. The Common Dialog Control. File Open Dialog on Pocket PC. File Open Dialog on HPC 2000. File Save As Dialog on Pocket PC. File Save As Dialog on HPC 2000. Reading and Writing Files. Text-Based Files. Unicode Files. Binary Files. Random Files. The Registry. Writing a Registry Key. Accessing a Registry Key. Conclusion.


11. Setup and Installation.

Using the “Application Install Wizard” . Installing the Application. Conclusion.


12. Architecting and Designing a Mobile Solution.

Connectivity Options. Local Storage Options. Data Transfer Options. Data Synchronization. Creating a Green Field Mobile Architecture. Integrating with Client Server Architectures. Integrating with n-Tier Architectures. Conclusion.


Appendix A: The CEUtils ActiveX Control.

The DatePicker Control. The ObjectStore Component. The Process Component. The RASConnection Component. The StrRegistry Component.


Appendix B: HTTP ActiveX Component.
Index.

商品描述(中文翻譯)

行動解決方案—隨身攜帶!

- 使用 Microsoft(r) eMbedded Visual Basic(r) 開發無線應用程式的完整指南
- 企業解決方案,包括 XML、SQL、SOAP 和 .NET
- 完全插圖,附有程式碼範例,並可在 CD-ROM 上實時使用
- CD-ROM 還包含 Microsoft eMbedded Visual Basic 的完整版本和 SDK

Pocket PC 提供比其他手持行動裝置更多的無線功能。現在,您可以利用 Microsoft eMbedded Visual Basic 的強大功能來開發應用程式,讓您能夠管理與企業網路的連接、從任何網站訪問數據、與企業數據庫同步信息,並調用 SOAP 和 .NET 網路服務,所有這些都可以在您的 Pocket PC 上完成。這是一本全面涵蓋所有這些應用程式及更多內容的書籍。

各級開發人員都可以學習如何利用 Microsoft SDK 與現有的數據庫和互聯網應用程式互動,使用以下技術:

- Pocket PC 和 Handheld PC 2000 的用戶介面
- Microsoft Windows(r) CE 的 SQL Server
- XML 和 DOM
- SOAP 和 .NET
- HTTP 和 ASP

沒有其他書籍能在單一卷中提供更完整的內容。立即開始使用 Pocket PC, Handheld PC 開發者指南 進入無線行動計算的世界。

關於 CD-ROM:
CD-ROM 包含書中所有範例的實時程式碼,以及 Microsoft eMbedded Visual Basic 和 SDK 的完整工作副本。

目錄
前言。
致謝。
1. eVB 開發簡介。

您,讀者。您需要的內容。Pocket PC、Handheld PC 2000 和其他設備。Pocket PC。Handheld PC 2000。其他設備。eMbedded Visual Basic (eVB) 概述。與 Visual Basic 6.0 的比較。使用 eMbedded Visual C++ (eVC)。模擬。開發工具安裝。創建“Hello World”應用程式。網路連接。配置 HPC 2000 網路支援。配置 Pocket PC 網路支援。平台管理器。遠端工具。ActiveX 控制項和 Windows CE 控制管理器。專案設定和屬性。錯誤處理。eVB 數據類型。除錯。結論。

2. 創建用戶介面。

Pocket PC 介面。管理 Pocket PC 菜單欄。響應菜單選擇。使用新按鈕。運行時更改菜單項。運行時訪問菜單項。插入和刪除菜單項。添加菜單欄按鈕。Pocket PC 對話框。HPC 2000 介面。設計應用程式窗口。創建 Pocket PC 應用程式窗口。創建 HPC 2000 應用程式窗口。結論。

3. ADOCE 和 ADOXCE。

Microsoft SQL Server for CE 特性。ADOCE 3.1 架構。Microsoft SQL Server for CE 安裝。在設備上安裝 ADOCE 和 ADOXCE。複製 SSCE 檔案。在 Windows CE 上安裝 ISQLW。簡單的數據庫操作。創建數據庫(目錄)。打開和關閉數據庫。創建表。添加記錄。列出記錄。使用 ISQLW_CE。表和列。整數數據類型。數字、浮點、實數和貨幣數據類型。二進制、變長二進制和圖像數據類型。UniqueIdentifier 數據類型和 ROWGUIDCOL。身份屬性。可空性和唯一性。參考完整性及主鍵和外鍵。預設值。使用 DROP TABLE。使用 ADOXCE 與表。索引。操作數據。創建和打開數據庫。錯誤處理。ADOCE 記錄集和 SELECT 語句。INSERT、DELETE 和 UPDATE 語句。管理事務。加密和密碼保護。壓縮數據庫。創建可分發的數據庫。結論。

4. SQL Server CE 遠端數據訪問和複製。

遠端數據訪問。RDA 安裝和配置。編程 RDA。SQL Server CE 中繼。安全性。SQL Server 複製。安裝和配置。編程複製。處理衝突。結論。

5. HTTP 和互聯網編程。

使用 WinSock 控制項。使用 HTTP GET 發送數據。使用 HTTP POST 發送數據。HTTP 組件。發送簡單請求。發送數據。使用 NT 認證。使用代理伺服器。結論。

6. XML 和 DOM。

XML。文檔對象模型 (DOM)。Microsoft SQL Server 2000 和 XML。配置 XML 支援。創建模板。從 evb 訪問模板。參數化模板。在 TreeView 控制項中顯示 XML 文檔。處理 SQL 錯誤。使用模板添加數據。註釋架構和 Xpath。ADO 記錄集和 XML。使用 DOM 創建和管理 XML 文檔。使用元素創建 XML 文檔。使用屬性創建 XML 文檔。將 XML 文檔發送到 ASP 頁面。結論。

7. SOAP 和 .NET 網路服務。

簡單物件存取協定 (SOAP)。安裝 SOAP 2.0 工具包。SOAP XML 文檔結構。從 Pocket PC 和 HPC 2000 應用程式進行 SOAP 調用。使用 .NET 網路服務。使用 VB.NET 創建 .NET 網路服務。使用 HTTP GET 和 POST 調用網路服務。使用 SOAP 調用網路服務。在 .NET 網路服務中使用類對象。使用 ADO.NET DataSets。結論。

8. 使用 RAS 管理連接。

創建 RAS 通訊錄條目。列出 RAS 通訊錄條目。確定是否存在連接。建立 RAS 連接。斷開 RAS 連接。結論。

9. Pocket Outlook 對象模型 (POOM)。

POOM 模型概述。登錄和 POOM 版本。添加對 PIMStore.DLL 的引用。登錄、登出和版本信息。文件夾和項目。管理聯絡人。使用 OIDs。查找和限制項目。顯示聯絡人。管理聯絡人。管理任務。管理約會。結論。

10. 對象存儲、文件輸入/輸出和註冊表。

文件系統控制項。文件夾列表。文件列表。文件操作。對象存儲。內存狀態。存儲卡。通用對話框控制項。在 Pocket PC 上的文件打開對話框。在 HPC 2000 上的文件打開對話框。在 Pocket PC 上的文件另存為對話框。在 HPC 2000 上的文件另存為對話框。讀取和寫入文件。基於文本的文件。Unicode 文件。二進制文件。隨機文件。註冊表。寫入註冊表鍵。訪問註冊表鍵。結論。

11. 設置和安裝。

使用“應用程式安裝精靈”。安裝應用程式。結論。

12. 架構和設計行動解決方案。

連接選項。本地存儲選項。數據傳輸選項。數據同步。創建綠地行動架構。與客戶端伺服器架構集成。與 n-Tier 架構集成。結論。

附錄 A:CEUtils ActiveX 控制項。

日期選擇器控制項。對象存儲組件。進程組件。RASConnection 組件。StrRegistry 組件。

附錄 B:HTTP ActiveX 組件。索引。