Book description
Get the definitive guide to learning how to exploit the built-in functionality in Outlook 2007. Written by two experts on Outlook extensibility, this book delivers practical guidance and extensive code samples to help you extend, adapt, and customize information flow to the desktop.
Discover how to:
- Programmatically create built-in item types to expose Outlook functionality in your solution
- Use the Items collection and Table object to access containers for Outlook items
- Connect to shared folders, Internet calendars, and RSS subscriptions
- Write event handlers and hook up event delegates for Outlook objects
- Implement programmatic search and organizational schemas
- Add controls at design-time or runtime to help you build rich form regions
- Extend the Office Fluent Ribbon with customized task panes and property pages
- Develop trusted add-ins that do not display security prompts
- Write registry keys, install required assemblies, and deploy your solution
- Code samples in Microsoft Visual Basic and Visual C#
- Reusable code snippets
- Add-in templates and samples
Companion Web site includes:
Publisher resources
Table of contents
- Programming Applications for Microsoft® Office Outlook® 2007
- Foreword
- Acknowledgments
- Introduction
-
I. Introducing Microsoft Office Outlook 2007
- 1. What’s New in Microsoft Office Outlook 2007
-
2. Outlook as a Platform
- Why Integrate with Outlook?
- Different Types of Outlook Integration
- Integration Guidelines
- APIs
- Development Tools
- Add-In Model
- Summary
-
II. Quick Guide to Building Solutions
- 3. Writing Your First Outlook Add-in Using Visual Basic .NET
- 4. Writing Your First Outlook Add-in Using C#
-
III. Working with Outlook Data
-
5. Built-in Item Types
- Introduction to Built-in and Custom Item Types
- MailItem, PostItem, and SharingItem Objects
- PostItem Object
-
AppointmentItem Object
- Appropriate Uses of AppointmentItem
- One-Time Appointments
- All-Day Events
- Appointment Attendees
-
Recurring Appointments
- Creating a Recurring Appointment
- Setting the Recurrence Pattern of an Appointment
- Creating a Recurring Appointment Using DayOfWeekMask
- Creating a Recurring Event
- Creating a MonthNth or YearNth Recurrence
- Working with a Single Appointment in a Series
- Determining the Original Date of an Exception
- Determining Whether an Appointment Instance Was Deleted
- Using GlobalAppointmentID
- MeetingItem Object
- ContactItem Object
- TaskItem Object
- TaskRequestItem Object
- Other Item Types
- Summary
-
6. Accessing Outlook Data
- An Overview of Outlook Data Storage
- Accounts Collection and Account Object
- Stores Collection and Store Object
- Folders Collection and Folder Objects
- Folder Permissions
- Accessing Items in a Folder
- Summary
- 7. Address Books and Recipients
-
8. Responding to Events
- Writing Event Handlers in Managed Code
-
Outlook 2007 Events
-
Application Object Events
- AdvancedSearchComplete
- AdvancedSearchStopped
- AttachmentContextMenuDisplay
- BeforeFolderSharingDialog
- ContextMenuClose
- FolderContextMenuDisplay
- ItemContextMenuDisplay
- ItemLoad
- ItemSend
- MapiLogonComplete
- NewMail
- NewMailEx
- OptionsPagesAdd
- Quit
- Reminder
- ShortcutContextMenuDisplay
- Startup
- StoreContextMenuDisplay
- ViewContextMenuDisplay
- Explorers Collection Event
- Explorer Object Events
- Folders Collection Events
- Folder Object Events
- FormRegion Object
- Inspectors Collection Event
- Inspector Object Events
- Items Collection Events
-
Item-Level Events
- AttachmentAdd
- AttachmentRead
- AttachmentRemove
- BeforeAttachmentAdd
- BeforeAttachmentPreview
- BeforeAttachmentRead
- BeforeAttachmentSave
- BeforeAttachmentWriteToTempFile
- BeforeAutoSave
- BeforeCheckNames
- BeforeDelete
- Close
- CustomAction
- CustomPropertyChange
- Forward
- Open
- PropertyChange
- Read
- Reply
- ReplyAll
- Send
- Unload
- Write
- Namespace Object Events
- NavigationGroups Collection Events
- NavigationPane Object Event
- OutlookBarPane Object Events
- OutlookBarGroup Object Events
- OutlookBarShortcut Object Events
- Stores Collection Events
- SyncObject Object Events
- Reminders Collection Events
- Views Collection Events
-
Application Object Events
- Summary
- 9. Sharing Information with Other Users
-
10. Organizing Outlook Data
- How Outlook 2007 Helps to Organize Information
- The Categories Collection and Category Objects
- Task Flagging
- The Rules Collection and Rule Objects
- Search Folders
- Outlook Views
- Customizing Your View
- Summary
-
11. Searching Outlook Data
- Overview of Searching Data
-
Outlook Query Languages
-
AQS
- Case Sensitivity
- Keywords and Locale
- Search Scope
- Keywords for All Modules
- Keywords for Mail Module
- Keywords for Calendar Module
- Keywords for Contacts Module
- Keywords for Tasks Module
- Keywords and Symbols
- String Specifier <string>
- Date Specifier <date>
- Boolean Specifier <bool>
- Systemsize Specifier <systemsize>
- Keywords for Custom Properties
-
DASL
- Property Specifiers
- String Comparisons
- Searching the Body of an Item
- Searching Attachments
- Boolean Properties in DASL Syntax
- Keywords Properties
- Custom Properties in a DASL Query
- Building DASL Queries
- Property Specifiers
- String Comparisons
- Boolean Properties in Jet Syntax
- Custom Properties in a Jet Query
- Keywords Properties in a Jet Query
-
AQS
- Date-Time Comparisons
- Integer Comparisons
- Invalid Properties
- Comparison and Logical Operators
- Search Entry Points
- Search Considerations
- Summary
-
5. Built-in Item Types
-
IV. Providing a User Interface for Your Solution
-
12. Introducing the Outlook User Interface
- Decoding the User Interface
- The Explorer Window (The Explorer Object)
- Programming the Explorer Object
- The Inspector Window (The Inspector Object)
- Programming the Inspectors Collection and Inspector Object
- Working with the Navigation Pane
- Folder Views
- The Reading Pane
- The To-Do Bar
- Command Bars
- Context Menus
- Folder Home Pages
- Summary
-
13. Creating Form Regions
- Introduction to Form Regions
- Becoming Familiar with Form Region Design
- Form Region End to End
- Summary
-
14. Form Region Controls
- Standard Controls
-
Outlook-Specific Controls
- The Outlook Body Control
- The Outlook Business Card Control
- The Outlook Category Control
- The Outlook Contact Photo Control
- The Outlook Date Control
- The Outlook Frame Header Control
- The Outlook InfoBar Control
- The Outlook Page Control
- The Outlook Recipient Control
- The Outlook Sender Photo Control
- The Outlook Time Zone Control
- The Outlook Time Control
- The Outlook View Control
- Using Form Region Controls
- Summary
- 15. Extending the Ribbon
- 16. Completing Your User Interface
-
12. Introducing the Outlook User Interface
-
V. Advanced Topics
-
17. Using the PropertyAccessor Object
- Scenarios for PropertyAccessor
- Objects That Implement PropertyAccessor
- PropertyAccessor Namespaces
- The PropertyAccessor Object
- Detecting and Reporting Error Conditions
- Property Size Limitations
- Summary
- 18. Add-in Setup and Deployment
- 19. Trust and Security
-
17. Using the PropertyAccessor Object
- About the Authors
- More Great Developer Resources
- Additional Resources for Developers
- Index
- About the Authors
- Copyright
Product information
- Title: Programming Applications for Microsoft® Office Outlook® 2007
- Author(s):
- Release date: February 2007
- Publisher(s): Microsoft Press
- ISBN: 9780735622494
You might also like
book
VSTO 3.0 for Office 2007 Programming
Get to grips with Programming Office 2007 using Visual Studio Tools for Office A step-by-step guide …
book
Professional Outlook® 2007 Programming
Written by one of the most popular and knowledgeable Microsoft Outlook MVPs, this book fills a …
book
Microsoft® Outlook® 2007 Bible
Discover all the ways Outlook can make your life with this book. In the handy package …
book
RibbonX: Customizing the Office 2007 Ribbon
As the most radical change to the Office interface in its history, the Ribbon replaces the …