Book description
Microsoft Outlook is the most widely used e-mail program and offers the most programmability. Sue Mosher introduces key concepts for programming Outlook using Visual Basic for Applications, custom Outlook forms, and external scripts, without the need for additional development tools.For those who manage Outlook installations, it demonstrates how to use new features in the Outlook 2007 programming model such as building scripts that can create rules and views and manage categories. Power users will discover how to enhance Outlook with custom features, such as the ability to process incoming mail and extract key information. Aimed at the non-professional programmer, it also provides a quick guide to Outlook programming basics for pro developers who want to dive into Outlook integration.
*Dozens of new programming objects detailed including views, rules, categories, searches
*No previous coding experience or additional development tools required
*Examples outline issues using real-world functionality
Table of contents
- Copyright
- Introduction
- Acknowledgments
- 1. What You Can Do with Outlook 2007
-
I. Basic Outlook VBA Design
- 2. The VBA Design Environment
- 3. Building Your First VBA Form
-
II. Basic Outlook Form Design
- 4. Introducing Outlook Forms
- 5. Introducing Form Regions
- 6. Extending Form Design with Fields and Controls
-
III. Writing VBA and VBScript Code
- 7. Outlook Code Basics
-
8. Code Grammar 101
- 8.1. Option Explicit
- 8.2. Declaring variables and constants
- 8.3. Writing procedures
- 8.4. Working with expressions and functions
- 8.5. Working with strings
- 8.6. Working with dates and times
- 8.7. Using arrays, dictionaries, and the Split() and Join() functions
- 8.8. Controlling program flow
- 8.9. Providing feedback
- 8.10. Getting user input
- 8.11. Working with files and other objects
- 8.12. Summary
- 9. Handling Errors, Testing, and Debugging
-
IV. Fundamental Outlook Coding Techniques
- 10. Outlook Programming Basics
- 11. Responding to Outlook Events in VBA
-
12. Coding Key Custom Form Scenarios
- 12.1. Working with Outlook item events
-
12.2. Responding to user input on forms
- 12.2.1. Using the PropertyChange and CustomPropertyChange events
- 12.2.2. Handling Click events from unbound controls
- 12.2.3. Example: Using option buttons to change a caption color
- 12.2.4. Example: Creating a hyperlink on an Outlook form
- 12.2.5. Performing validation in Outlook form code
- 12.2.6. Example: A custom contact form with required categories
- 12.3. Handling form and control state issues
- 12.4. Summary
-
13. Working with Stores, Explorers, and Folders
- 13.1. Information store concepts
- 13.2. Information store techniques
- 13.3. Working with Explorers
-
13.4. Accessing folders
- 13.4.1. Getting a default folder
- 13.4.2. Getting the current folder
- 13.4.3. Letting the user choose a folder
- 13.4.4. Example: Setting the save folder for a message
- 13.4.5. Getting a default folder from another Exchange mailbox
- 13.4.6. Getting a search folder
- 13.4.7. Walking the folder tree to get any folder
- 13.4.8. Returning an Exchange public folder
- 13.4.9. Returning shared folders using the navigation pane
- 13.4.10. Recursing folders
- 13.5. Working with folders
- 13.6. Summary
- 14. Using PropertyAccessor and StorageItem
- 15. Working with Inspectors and Items
- 16. Searching for Outlook Items
- 17. Working with Item Bodies
- 18. Working with Recipients and Address Lists
- 19. Working with Attachments
- 20. Common Item Techniques
-
V. Finishing Touches
- 21. Deploying and Managing Outlook Forms
- 22. Rules, Views, and Administrator Scripting Tasks
- 23. Menus, Toolbars, and the Navigation Pane
- 24. Generating Reports on Outlook Data
Product information
- Title: Microsoft Outlook 2007 Programming
- Author(s):
- Release date: July 2007
- Publisher(s): Digital Press
- ISBN: 9780080548739
You might also like
book
Visual Studio Tools for Office 2007: VSTO for Excel, Word, and Outlook
is the definitive book on VSTO 2008 programming, written by the inventors of the technology. VSTO …
book
Show Me Microsoft Office Outlook 2003
See it done, do it yourself! Spend less time reading and more time doing with this …
book
Outlook Answer Book, The: Useful Tips, Tricks, and Hacks for Microsoft Outlook® 2003
Discover many useful customizations you can do with Outlook to improve efficiency both at home and …
book
Visual Studio Tools for Office: Using Visual Basic 2005 with Excel, Word, Outlook, and InfoPath
“With the application development community so focused on the Smart Client revolution, a book that covers …