developing windows ® ce applications with visual basic ® larry roof tonked 8-305
TRANSCRIPT
Developing WindowsDeveloping Windows®® CE CE Applications With Applications With Visual BasicVisual Basic®®
Larry RoofLarry Rooftonkedtonked
8-3058-305
AgendaAgenda
Windows CE overviewWindows CE overview Introduction to the eVB toolkitIntroduction to the eVB toolkit Developing applications with eVBDeveloping applications with eVB Questions and answersQuestions and answers
Windows CE PlatformsWindows CE Platforms
Commercial devicesCommercial devices H/PC Pro (sub-notebook)H/PC Pro (sub-notebook) H/PC (checkbook)H/PC (checkbook) P/PCP/PC Pocket PCPocket PC
Auto PCAuto PC Embedded devicesEmbedded devices
Windows CE EnvironmentWindows CE Environment
Limited memoryLimited memory Limited CPU powerLimited CPU power Supports a subset of Win32Supports a subset of Win32®® APIs APIs Provides desktop connectivityProvides desktop connectivity
Embedded Visual BasicEmbedded Visual Basic
Application developmentApplication development Runtime characteristicsRuntime characteristics Intrinsic controlsIntrinsic controls ActiveXActiveX®® Controls Controls Runtime availabilityRuntime availability Application modelApplication model Deploying applicationsDeploying applications
Development With eVBDevelopment With eVB
Visual Basic-like development Visual Basic-like development environmentenvironment
New project typesNew project types Project dialogProject dialog
Auto-download and runAuto-download and run Remote debuggingRemote debugging EmulationEmulation
Remote developer toolsRemote developer tools
Demo – Hello WorldDemo – Hello World
Runtime CharacteristicsRuntime Characteristics
Subset of Visual Basic 6.0 runtimeSubset of Visual Basic 6.0 runtime Designed for size, speedDesigned for size, speed About 650K in sizeAbout 650K in size
Language subsetLanguage subset Object subsetObject subset Interpreted on DeviceInterpreted on Device Application is CPU independentApplication is CPU independent No native compile … yetNo native compile … yet
Intrinsic ControlsIntrinsic Controls Picture boxPicture box LabelLabel Text boxText box FrameFrame Command buttonCommand button Check boxCheck box Option buttonOption button Combo boxCombo box List boxList box Scroll barsScroll bars TimerTimer ShapeShape LineLine
ActiveX Controls With eVB ActiveX Controls With eVB
Controls shipped with eVBControls shipped with eVB Image, PictureBox, ImageListImage, PictureBox, ImageList FileSysFileSys Winsock, MSCommWinsock, MSComm TreeView, ListViewTreeView, ListView Grid, Common Dialog, TabStripGrid, Common Dialog, TabStrip Menu bar, Command barMenu bar, Command bar ADOCEADOCE
Third-Party ControlsThird-Party Controls
PrintingPrinting Displaying imagesDisplaying images InternetInternet API wrappersAPI wrappers
Demo – NextGen AgentDemo – NextGen Agent
Runtime AvailabilityRuntime Availability
Windows CE 2.0Windows CE 2.0 H/PC devicesH/PC devices
Windows CE 2.11Windows CE 2.11 H/PC Pro devicesH/PC Pro devices P/PC devicesP/PC devices
Windows CE 3.0Windows CE 3.0 Pocket PCPocket PC
Distribution ModelDistribution Model
ROM – OEM decides if includedROM – OEM decides if included RAM – provided by supported SDKsRAM – provided by supported SDKs
Application ModelApplication Model
OEM/Driver OEM/Driver DevelopmentDevelopment
ConfigurableConfigurableOS LayerOS LayerTCP/IPTCP/IP
PPPPPPUSERUSERGDIGDI
ObjectObjectStoresStoresKernelKernelIrDAIrDA
Installable driversInstallable drivers
Win32 API subsetWin32 API subset
OEM Adaptation LayerOEM Adaptation Layer
VB ApplicationsVB Applications
VBVBRuntimeRuntime
ActiveXActiveXControlsControls
ProcessorProcessor IndependentIndependent
ProcessorProcessor DependentDependent
Deploying Your ApplicationDeploying Your Application
eVB applications are processor eVB applications are processor independentindependent
Intrinsic controls are in platform-Intrinsic controls are in platform-specific runtimespecific runtime
Application install wizard Application install wizard creates setupscreates setups
Third-party installation utilitiesThird-party installation utilities
Developing An ApplicationDeveloping An Application
Designing for the Pocket PCDesigning for the Pocket PC Working with filesWorking with files Accessing Pocket OutlookAccessing Pocket Outlook®®
Databases and eVBDatabases and eVB Moving data to and from a deviceMoving data to and from a device Producing printed outputProducing printed output
Demo – Mobile SalesDemo – Mobile Sales
Designing For The Pocket PCDesigning For The Pocket PC
Flat interfaceFlat interface Menu bar controlMenu bar control Simple interactionSimple interaction Popup menusPopup menus OK buttonsOK buttons Minimize data inputMinimize data input
Working With FilesWorking With Files
Working with the Windows CE Working with the Windows CE file systemfile system
File system controlFile system control Sequential, binary and Sequential, binary and
random access filesrandom access files File controlFile control
Accessing Pocket OutlookAccessing Pocket Outlook
Pocket Outlook Object Model (POOM)Pocket Outlook Object Model (POOM) Working with contactsWorking with contacts Working with appointmentsWorking with appointments Working with tasksWorking with tasks
Databases And eVBDatabases And eVB
Windows CE databasesWindows CE databases ADOCEADOCE SQL ServerSQL Server™™ 2000 for Windows CE 2000 for Windows CE Using ADO with eVBUsing ADO with eVB
Moving Data To A DeviceMoving Data To A Device
ActiveSyncActiveSync®®
Using the synchronized files folderUsing the synchronized files folder RAPI with the CEConnect controlRAPI with the CEConnect control TCP/IP and the Winsock controlTCP/IP and the Winsock control
Producing Printed OutputProducing Printed Output
Using IR printersUsing IR printers ActiveX printer controlActiveX printer control Printing using the printer controlPrinting using the printer control Creating HTML reportsCreating HTML reports
Questions And AnswersQuestions And Answers
To contact me: Larry Roof – To contact me: Larry Roof – [email protected]@tonked.com
eVB information: eVB information: www.tonked.comwww.tonked.com Newsgroup: microsoft.public.vb.vbceNewsgroup: microsoft.public.vb.vbce eVB training: eVB training:
www.tonked.com/training.aspwww.tonked.com/training.asp Show samples: Show samples: www.tonked.comwww.tonked.com