Upload
felicity-mills
View
217
Download
0
Embed Size (px)
Citation preview
A Practical Guide to A Practical Guide to Working with Working with ActiveSync 4.0ActiveSync 4.0
By Chris De HerreraBy Chris De HerreraFounder, Pocket PC FAQFounder, Pocket PC FAQMicrosoft MVP, Mobile DevicesMicrosoft MVP, Mobile Devices
What We Will Cover:What We Will Cover:
MicrosoftMicrosoft®® ActiveSync ActiveSync®® Overview Overview
History of ActiveSyncHistory of ActiveSync
Installing ActiveSyncInstalling ActiveSync
Terminating ActiveSyncTerminating ActiveSync
Additional ActiveSync FunctionalityAdditional ActiveSync Functionality
Developing with ActiveSyncDeveloping with ActiveSync
Troubleshooting ActiveSyncTroubleshooting ActiveSync
Additional ResourcesAdditional Resources
Session PrerequisitesSession Prerequisites
Access to a MicrosoftAccess to a Microsoft®® Windows Windows Mobile™-based Pocket PC or Mobile™-based Pocket PC or SmartphoneSmartphone
Access to a PC to install MicrosoftAccess to a PC to install Microsoft®® ActiveSyncActiveSync®® 4.0 4.0
Optional: Installed version of MicrosoftOptional: Installed version of Microsoft®® Office on the PCOffice on the PC
Level 200Level 200
ActiveSync 4.0 IntroductionActiveSync 4.0 Introduction
ActiveSync is used to synchronize with ActiveSync is used to synchronize with MicrosoftMicrosoft®® Windows Mobile™ Devices Windows Mobile™ Devices and Microsoftand Microsoft®® Windows Windows®® CE .NET CE .NET devicesdevices
Supports file synchronizationSupports file synchronization
Standard method to install applications Standard method to install applications from the desktopfrom the desktop
Ability to synchronize with MicrosoftAbility to synchronize with Microsoft®® Office OutlookOffice Outlook®® Calendar, Contacts, Calendar, Contacts, Tasks and InboxTasks and Inbox
Ability to synchronize with the MicrosoftAbility to synchronize with the Microsoft®® Windows Mobile™ 5.0 emulatorWindows Mobile™ 5.0 emulator
ActiveSync 4.0 HistoryActiveSync 4.0 History
ActiveSync 3.0 (the first release) ActiveSync 3.0 (the first release) replaced Windows CE Services when the replaced Windows CE Services when the Pocket PC 2000 shippedPocket PC 2000 shipped
Prior versions included 3.1, 3.5, 3.6, 3.7, Prior versions included 3.1, 3.5, 3.6, 3.7, 3.7.1 and 3.83.7.1 and 3.8
With each new release generally a new With each new release generally a new generation of hardware support is generation of hardware support is addedadded
Also, each release generally has Also, each release generally has improved the users experience with improved the users experience with ActiveSyncActiveSync
Recommended Installation Recommended Installation Process for ActiveSync 4.0Process for ActiveSync 4.0
Install Microsoft Office 2003/2002/2000 Install Microsoft Office 2003/2002/2000 first!first!
Install ActiveSync 3.8 – This optional Install ActiveSync 3.8 – This optional step will install the Pocket Word file step will install the Pocket Word file converter for Word.converter for Word.
Install ActiveSync 4.0Install ActiveSync 4.0
Install Office Service PacksInstall Office Service Packs
If you run into trouble, just remember to If you run into trouble, just remember to installinstall
ActiveSync last.ActiveSync last.
ActiveSync DemoActiveSync Demo
Configuring and Synchronizing Configuring and Synchronizing ActiveSyncActiveSync
What’s New with ActiveSync What’s New with ActiveSync 4.0?4.0?
Support for MicrosoftSupport for Microsoft®® Windows Windows Mobile™ 5.0-based Pocket PC and Mobile™ 5.0-based Pocket PC and Smartphone devicesSmartphone devices
New functionality to synchronize your New functionality to synchronize your Windows Media files (for WM5.0 only)Windows Media files (for WM5.0 only)
Supports USB 2.0 devicesSupports USB 2.0 devices
Redesigned the ActiveSync protocol for Redesigned the ActiveSync protocol for a better user experiencea better user experience
New user interface and new icon designNew user interface and new icon design
Removed network/dialup Removed network/dialup synchronization (for security reasons)synchronization (for security reasons)
Terminating ActiveSyncTerminating ActiveSync
Microsoft does not provide an option to end Microsoft does not provide an option to end ActiveSync. By default it is always running. ActiveSync. By default it is always running. When you launch it, ActiveSync re-adds the When you launch it, ActiveSync re-adds the Registry key so it will run automatically when Registry key so it will run automatically when you rebootyou reboot
The two programs to terminate in the Task The two programs to terminate in the Task Manager are WCESCOMM.EXE and Manager are WCESCOMM.EXE and WCESMGR.EXE if you want to end it by hand.WCESMGR.EXE if you want to end it by hand.
A workaround is to use Killsync from A workaround is to use Killsync from www.pocketpcfaq.com/applicationswww.pocketpcfaq.com/applications. A . A companion application called Resync will stop companion application called Resync will stop and restart ActiveSyncand restart ActiveSync
Additional ActiveSync Additional ActiveSync FunctionalityFunctionality
Can setup Guest only synchronization by changing Can setup Guest only synchronization by changing the HKLM\Software\Microsoft\Windows CE Services\the HKLM\Software\Microsoft\Windows CE Services\GuestOnly to 1GuestOnly to 1Can run program upon initial connection by entering Can run program upon initial connection by entering the program name in HKLM\Software\Microsoft\the program name in HKLM\Software\Microsoft\Windows CE Services\AutoStartOnConnect Windows CE Services\AutoStartOnConnect Can run a program upon termination of the Can run a program upon termination of the connection by entering the program name in HKLM\connection by entering the program name in HKLM\Software\Microsoft\Windows CE Services\Software\Microsoft\Windows CE Services\AutoStartOnDisconnect AutoStartOnDisconnect
Officially Microsoft does not support end users editing Officially Microsoft does not support end users editing thethe
registry. For ease of configuration, use ActiveSync Keysregistry. For ease of configuration, use ActiveSync Keysfrom www.pocketpcfaq.com/applications/ from www.pocketpcfaq.com/applications/
ActiveSync 4.0 DemoActiveSync 4.0 Demo
Terminating ActiveSync and Terminating ActiveSync and Additional ActiveSync FunctionsAdditional ActiveSync Functions
Developing with ActiveSyncDeveloping with ActiveSync
Microsoft provides the RAPI API so you can Microsoft provides the RAPI API so you can use ActiveSync in your programsuse ActiveSync in your programsRAPI provides the functionality to perform the RAPI provides the functionality to perform the following functionsfollowing functions
Transfer filesTransfer filesInstall ApplicationsInstall ApplicationsModify the registry of the Pocket PC or SmartphoneModify the registry of the Pocket PC or SmartphoneCreate/Modify the internal databasesCreate/Modify the internal databasesExecute a program on the deviceExecute a program on the device
MSDNMSDN®® is a great resource for RAPI is a great resource for RAPI information - information - http://search.microsoft.com/search/results.ashttp://search.microsoft.com/search/results.aspx?px?qu=rapi&View=msdn&st=b&c=0&s=1&swc=qu=rapi&View=msdn&st=b&c=0&s=1&swc=0 0
Troubleshooting ActiveSyncTroubleshooting ActiveSync
Common Fixes:Common Fixes:Make sure your software firewall Make sure your software firewall (including Microsoft(including Microsoft®® Windows Windows®® XP, XP, Service Pack 2) is allowing WCESCOMM Service Pack 2) is allowing WCESCOMM and WCESMGR to access the internet. and WCESMGR to access the internet. This is required because ActiveSync This is required because ActiveSync uses TCP/IP to communicate.uses TCP/IP to communicate.Try using Detect and Repair of Outlook Try using Detect and Repair of Outlook and reinstall ActiveSync.and reinstall ActiveSync.Take a look at the ActiveSync Take a look at the ActiveSync Troubleshooting Guide at Troubleshooting Guide at http://www.pocketpcfaq.com/faqs/t-shohttp://www.pocketpcfaq.com/faqs/t-shootactivesync.htmotactivesync.htm
Additional ActiveSync Additional ActiveSync ResourcesResources
Pocket PC FAQ – lots of information on Pocket PC FAQ – lots of information on ActiveSync – ActiveSync – http://www.pocketpcfaq.comhttp://www.pocketpcfaq.com
Microsoft ActiveSync newsgroup – Microsoft ActiveSync newsgroup – microsoft.public.pocketpc.activesyncmicrosoft.public.pocketpc.activesync
Sync with Act, Goldmine, and other CRM Sync with Act, Goldmine, and other CRM – Intellisync from – Intellisync from http://www.pumatech.comhttp://www.pumatech.com
Sync with Outlook Express – Sync with Outlook Express – http://www.syncdata.ithttp://www.syncdata.it
Sync Outlook Notes – Sync Outlook Notes – http://www.phatware.comhttp://www.phatware.com
Contact InformationContact Information
Contact me after the presentation at Contact me after the presentation at [email protected] [email protected]
http://www.pocketpcfaq.com http://www.pocketpcfaq.com
Questions and AnswersQuestions and Answers
Submit text questions using the “Ask” Submit text questions using the “Ask” button. button. Don’t forget to fill out the survey.Don’t forget to fill out the survey.For upcoming and previously live For upcoming and previously live webcasts: webcasts: www.microsoft.com/webcasts www.microsoft.com/webcasts
Got webcast content ideas? Contact us Got webcast content ideas? Contact us at: at: http://go.microsoft.com/fwlink/?http://go.microsoft.com/fwlink/?LinkId=41781LinkId=41781
Today's webcast was presented using Today's webcast was presented using Microsoft Office Live Meeting. Get a Microsoft Office Live Meeting. Get a free 14 day trial free 14 day trial http://www.microsoft.com/presentlivehttp://www.microsoft.com/presentlive
Listen, learn and rub elbows with our very own MSDN Developer Community Champions. Our free MSDN Event series is your perfect opportunity to brush up on the latest tools and advanced technologies from Microsoft. Sessions include:
- Web Services Unleashed- Universal Data Access with SQL Server 2005™- Publishing Applications Using ClickOnce
These events take place in the United States from April through June 2005, on Tuesdays and Thursdays from 1-5PM your local time.
Register at http://msdnevents.com or call 1-877.673.8368
Attend an MSDN Event in your local area and receive the MSDN Event Resource DVD
This exclusive DVD pulls it all together – and it’s only available when you attend an MSDN Event in your local area.
Spring DVD includes:
• Session Materials, including Code Samples, Slides and Video Recordings plus a BONUS Session on Visual Studio 2005 Team System
• The First 100 Episodes of .NET Rocks! • MSDNTV Episodes • The Complete Patterns & Practices Library
(as well as the Enterprise Library for .NET) • Virtual PC 2004 45-day Trial Edition • Russ' Tool shed: A complete version of
"Tinkering with Visual Studio .NET" book, includes Code Samples
Poll: As part of our ongoing Poll: As part of our ongoing efforts to improve your audio efforts to improve your audio q...q...[Live Meeting Multiple Choice Poll. Use [Live Meeting Multiple Choice Poll. Use Live MeetingLive Meeting > > Edit Edit
Slide Properties...Slide Properties... to edit.] to edit.]
I was able to hear the presenter all of the I was able to hear the presenter all of the time.time.
I had difficulty hearing the presenter due to I had difficulty hearing the presenter due to low volume.low volume.
I had difficulty hearing the presenter due to I had difficulty hearing the presenter due to gaps in the audio.gaps in the audio.
The audio was out of sync with the The audio was out of sync with the presentation.presentation.
I couldn't connect to the audio.I couldn't connect to the audio.
Contact InformationContact Information
Contact me after the presentation at Contact me after the presentation at [email protected] [email protected]
http://www.pocketpcfaq.com http://www.pocketpcfaq.com