eMbedded Visual Basic Windows CE and Pocket PC Mobile Applications

by ;
Edition: 1st
Format: Paperback
Pub. Date: 2001-11-07
Publisher(s): Sams Publishing
  • Free Shipping Icon

    Receive Free Shipping To The More Store!*

    *Marketplace items do not qualify for the free shipping promotion.

List Price: $49.99

Rent Book

Select for Price
There was a problem. Please try again later.

New Book

We're Sorry
Sold Out

Used Book

We're Sorry
Sold Out

eBook

We're Sorry
Not Available

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

This book is an in-depth exploration into eVB's inherent features, and how to use them to solve likely mobile application programming tasks. After reading the book the reader will be able to write applications tackling a wide array of business problems for Windows CE-powered devices, both customized and for PocketPC and Handheld PC products. This book will help ease the transition into the language, and provide a reference for even more experienced developers.

Author Biography

Christopher Tacke, MCSD, is an associate at Rubicon Technologies, Inc., in Reston, Virginia, as well as cofounder and president of Innovative Decision Support Systems, Inc. He has a bachelor's in geology from the University of Montana and a master's in project management from the Keller Graduate School of Management in Illinois. He has written software with uses ranging from text games on his Vic-20 to seismic data analysis to assembly-line automation, but now focuses largely on mobile computing programming, including Windows CE, Palm, and RIM. Chris lives with his wife, Erin, and their black Lab, Zoe, in Maryland.

Tim Bassett, MCSE, MCSD, MCT, MCP+Site Building, has more than eight years of experience as a lead programmer on many emerging technologies. He received a bachelor's in business administration, focused in management information systems, from Ohio University in Athens, Ohio. As Mobile Application Group Manager at Rubicon Technologies, Inc., Tim was responsible for a large prercentage of Rubicon's research and development, as well as the training of Rubicon's associates. Currently Tim does independent consulting for mobile applications running on both Windows CE and Palm OS. He lives with his wife, Cori, in Washington D.C.

You can contact Chris via e-mail at ctacke@innovativedss.com. Tim Bassett can be contacted via pocketpcbook@yahoo.com. Be aware, though, that we get a whole lot of e-mail in a day and although we try to read and answer them all, responses may not always be quick. If you're looking for technical help on a problem, we highly recommend searching the archive of and posting to developer community Web sites, newsgroups, and listservers.

Table of Contents

Introduction 1(1)
Who This Book is For
1(4)
How This Book Is Organized
2(1)
Conventions Used in This Book
3(2)
An Introduction to Windows CE
5(16)
CE Platforms
6(1)
Palm-Size PC
7(1)
Handheld PC (HPC)
7(1)
Pocket PC
8(3)
Processors
10(1)
eMbedded Visual Basic
11(3)
Installing eVB
11(3)
Creating a New Project
14(2)
Running and Debugging
16(2)
Remote Tools
18(2)
Zoom
18(2)
Control Manager
20(1)
Summary
20(1)
Introducing eMbedded Visual Basic
21(12)
Compiled Versus Interpreted Code
22(1)
All Things Are variant
23(1)
Unsupported VB6 Features
24(6)
GoTo and Error Handling
24(1)
New, CreateObject, and Events
25(1)
No Class Support
26(1)
No validate Events
26(1)
Menus Are Different
27(1)
Optional Isn't an Option
27(1)
ActiveX Controls, DLLs, and EXEs
28(1)
Control Arrays
28(1)
User-Defined Data Types
29(1)
With Blocks
29(1)
Modal Forms
29(1)
Using the Windows CE Emulators
30(1)
Other Differences
30(2)
Summary
32(1)
Manipulating Files
33(28)
The FileSystem and File Controls
35(1)
The Controls' Object Models
35(1)
The Windows CE TreeView Control
36(1)
Creating the PocketExplorer Utility
37(23)
Setting Up the Project
37(3)
Getting Directory Contents
40(3)
Displaying the Directory Tree
43(4)
Getting a File's Attributes
47(3)
Opening, Editing, and Writing Text Files
50(10)
Summary
60(1)
Working with Menu Controls for Pocket PC
61(30)
Setting project References For MenuBar Control
62(2)
Creating Menu Bars
64(12)
Responding to Menu Taps
65(2)
Checkmark Menus
67(4)
Dynamic Menus
71(1)
Removing Menu Items
72(2)
Changing Captions
74(1)
Manipulating Enabled State
75(1)
Implementing Menu Buttons
76(11)
Populating the ImageList
76(1)
Moving Files to a Development Environment
77(3)
Responding to Button Taps
80(3)
Using Button Groups
83(3)
Using Caption Buttons
86(1)
Adding the New Button
87(2)
Summary
89(2)
Using the Windows CE WinSock for IR Communication
91(46)
A Brief Socket Tutorial
92(1)
Understanding the WinSock Control
93(2)
Control's Object Model
94(1)
Writing the PocketChat Application
95(33)
Project Setup
96(1)
Project Flow
97(1)
Initializing Application
98(2)
Adding the Application's MenuBar
100(2)
Changing the Connection Protocol
102(1)
Connecting to a Remote Device
103(4)
Accepting a Connection Request
107(1)
Receiving the Connection Notification
108(1)
Disconnecting
108(4)
Sending Chat Text
112(2)
Receiving Chat Text
114(2)
Sending a Text File
116(6)
A ProgressBar Workaround
122(2)
Receiving a Text File
124(1)
Handling WinSock Errors
125(2)
Adding Final Touches
127(1)
PCChat
128(6)
Summary
134(3)
The Pocket Outlook Object Model: Accessing Contacts and Calendar Items
137(50)
Installing POOM
138(3)
Installation onto Your Device
139(1)
Installation on a Development Computer
140(1)
Looking at Pocket Outlook's Object Model
141(8)
The PocketOutlook.Application Object
141(1)
The PocketOutlook.Folder Object
142(1)
The PocketOutlook.Items Collection
143(4)
The PIM Objects: ContactItem, TaskItem, and Appointment Item
147(2)
Creating the Pocket PIM Sample Application
149(37)
Other Technologies Demonstrated
151(1)
Building the Application
151(35)
Summary
186(1)
Storing and Retrieving Data with ActiveX Data Objects CE
187(68)
Storing Windows CE Data
189(1)
Introducing ADOCE Objects
189(2)
The Connection Object
190(1)
The Recordset Object
190(1)
The Fields Collection
190(1)
The Field Object
190(1)
Creating the CD Library Sample Application
191(43)
Understanding Some Issues
191(3)
Understanding the Project Components
194(1)
Defining Data Structures for the Application
194(1)
Setting Up the CD Library Project
195(1)
Setting Up modGlobal's Consts and Public Variables
196(2)
Setting Up frmMain's Consts and Public Variables
198(1)
Stubbing Out All frmMain Subs and Functions
199(1)
Using the Form.Load Event
200(1)
Using the InitializeGlobals Function
201(1)
Using the openDatabase Function
202(1)
Using the EnsureDatabaseexists Function
203(2)
Using the CreateTables Function to Create Tables and Indexes, and to Insert Data
205(3)
Using the CreateData Function
208(1)
Using the AddGenre Function
209(5)
Using the GetNewPK Function to Control Primary Keys
214(1)
Give It a Whirl
215(1)
Using the AddArtist Function
216(2)
Using the AddCD Function
218(2)
Updating the CreateData Function to Add Artists and CDs
220(3)
Another Trip Around the Block
223(1)
Using the InitializeGridVariables Function
223(2)
Using the PopulateArtistGrid Function to See the Data
225(3)
Once More Around the Block: Let's See Those Artists
228(1)
What Artists? Which CDs?
228(1)
Using the RefreshCDGrid Function: Finally, Those CDs!
228(5)
Are We There Yet?
233(1)
Tapping the CD Grid
233(1)
Implementing the CD Form
234(20)
Designing the CD Form
234(1)
Setting Up frmCD
235(1)
Implementing CDOpen: The Entry Point to frmCD
235(4)
Implementing the RefreshFormCD Function
239(2)
Implementing the PopulateArtistCombo Function
241(1)
Implementing the PopulateGenreCombo Function
242(1)
Viewing the CD
243(1)
Implementing the New Button on the Main Form
243(1)
Implementing a New CD in the CD Form
244(1)
Go Ahead, Make My CD
245(1)
Implementing the SaveCD Function
245(9)
Summary
254(1)
Using SQL Server in a Mobile Environment
255(64)
Installing and Configuring SQL Server CE on Your Server
256(2)
Installing and Configuring SQL Server CE on Your Device or Emulator
258(1)
Establishing Connectivity for SQL Server CE
259(1)
Understanding the SQL Server CE Object Model
259(1)
Using SQL Server CE Data
259(5)
Updating SQL Server CE Recordsets
260(2)
SQL Server CE Merge Replication and Remote Data Access
262(1)
SQL Server CE Merge Replication
262(1)
SQL Server CE Remote Data Access
263(1)
Using Replication with SQL Server CE
264(53)
Creating the CD Library Database on the Server
264(4)
Creating a Publication for Replication to a Windows CE Device
268(10)
Investigating the SQL Server CE Replication Object
278(5)
Converting the CD Library Application to Use SQL Server CE Replication
283(34)
Summary
317(2)
Harnessing the Windows CE API
319(44)
The Application Programming Interface
321(1)
The API Text Viewer
322(2)
Non-UDT API Examples
324(20)
BringWindowToTop
324(1)
CompareString
324(2)
CopyFile
326(1)
CreateProcess
327(1)
Creating Your Own DoEvents
328(1)
Shutting Down the Device
329(1)
GetActiveWindow
329(1)
GetAsyncKeyState
330(1)
GetTickCount
330(2)
PlaySound
332(1)
RegQueryValueEx and RegSetValueEx
332(6)
Sleep
338(1)
Putting It All Together
338(6)
User-Defined Data Type Workaround
344(7)
User-Defined Data Types
344(2)
Strings
346(1)
Getting a Byte Value
346(2)
Building a Binary String
348(2)
Converting from a Binary String
350(1)
UDT API Examples
351(4)
SetLocalTime
352(1)
GetLocalTime
353(2)
Transferring Data to and from a PC
355(6)
DeskToptoDevice
356(4)
DevicetoDesktop
360(1)
Summary
361(2)
A Control Reference 363(28)
Pocket PC MenuBar Control Reference
364(6)
ADOCE Control Reference
370(8)
The File Control Object Model
378(1)
The FileSystem Control Object Model
379(1)
MSCEFiIeCtl Constants
380(2)
The CE Treeview Object Model
382(5)
The CE WinSock Object Model
387(4)
Index 391

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.