Programming-Applications-for-Microsoft-Office-Outlook-2007.pdf
(
9689 KB
)
Pobierz
PUBLISHED BY
Microsoft Press
A Division of Microsoft Corporation
One Microsoft Way
Redmond, Washington 98052-6399
Copyright © 2007 by Microsoft Corporation
All rights reserved. No part of the contents of this book may be reproduced or transmitted in any form
or by any means without the written permission of the publisher.
Library of Congress Control Number: 2006940673
Printed and bound in the United States of America.
1 2 3 4 5 6 7 8 9 QWT 2 1 0 9 8 7
Distributed in Canada by H.B. Fenn and Company Ltd.
A CIP catalogue record for this book is available from the British Library.
Microsoft Press books are available through booksellers and distributors worldwide. For further infor-
mation about international editions, contact your local Microsoft Corporation office or contact Microsoft
Press International directly at fax (425) 936-7329. Visit our Web site at www.microsoft.com/mspress.
Send comments to mspinput@microsoft.com.
Microsoft, Microsoft Press, Active Directory, ActiveX, Excel, Expression, Hotmail, InfoPath,
IntelliSense, MSDN, MSN, OneNote, Outlook, PowerPoint, SharePoint, SideShow, Visio, Visual Basic,
Visual C#, Visual C++, Visual Studio, Windows, Windows Media, Windows NT, Windows Server,
Windows Vista, Xbox and Xbox 360 are either registered trademarks or trademarks of Microsoft
Corporation in the United States and/or other countries. Other product and company names mentioned
herein may be the trademarks of their respective owners.
The example companies, organizations, products, domain names, e-mail addresses, logos, people, places,
and events depicted herein are fictitious. No association with any real company, organization, product,
domain name, e-mail address, logo, person, place, or event is intended or should be inferred.
This book expresses the author’s views and opinions. The information contained in this book is provided
without any express, statutory, or implied warranties. Neither the authors, Microsoft Corporation, nor its
resellers, or distributors will be held liable for any damages caused or alleged to be caused either directly
or indirectly by this book.
Acquisitions Editor:
Ben Ryan
Developmental Editor:
Devon Musgrave
Project Editor:
Melissa von Tschudi-Sutton
Production:
nSight, Inc.
Body Part No. X13-24186
Microsoft Press
A Division of Microsoft Corporation
One Microsoft Way
Redmond, Washington 98052-6399
Copyright © 2007 by Microsoft Corporation
All rights reserved. No part of the contents of this book may be reproduced or transmitted in any form
or by any means without the written permission of the publisher.
Library of Congress Control Number: 2006940673
Printed and bound in the United States of America.
1 2 3 4 5 6 7 8 9 QWT 2 1 0 9 8 7
Distributed in Canada by H.B. Fenn and Company Ltd.
A CIP catalogue record for this book is available from the British Library.
Microsoft Press books are available through booksellers and distributors worldwide. For further infor-
mation about international editions, contact your local Microsoft Corporation office or contact Microsoft
Press International directly at fax (425) 936-7329. Visit our Web site at www.microsoft.com/mspress.
Send comments to mspinput@microsoft.com.
Microsoft, Microsoft Press, Active Directory, ActiveX, Excel, Expression, Hotmail, InfoPath,
IntelliSense, MSDN, MSN, OneNote, Outlook, PowerPoint, SharePoint, SideShow, Visio, Visual Basic,
Visual C#, Visual C++, Visual Studio, Windows, Windows Media, Windows NT, Windows Server,
Windows Vista, Xbox and Xbox 360 are either registered trademarks or trademarks of Microsoft
Corporation in the United States and/or other countries. Other product and company names mentioned
herein may be the trademarks of their respective owners.
The example companies, organizations, products, domain names, e-mail addresses, logos, people, places,
and events depicted herein are fictitious. No association with any real company, organization, product,
domain name, e-mail address, logo, person, place, or event is intended or should be inferred.
This book expresses the author’s views and opinions. The information contained in this book is provided
without any express, statutory, or implied warranties. Neither the authors, Microsoft Corporation, nor its
resellers, or distributors will be held liable for any damages caused or alleged to be caused either directly
or indirectly by this book.
Acquisitions Editor:
Ben Ryan
Developmental Editor:
Devon Musgrave
Project Editor:
Melissa von Tschudi-Sutton
Production:
nSight, Inc.
Body Part No. X13-24186
Contents at a Glance
Part I
Introducing Microsoft Office Outlook 2007
What’s New in Microsoft Office Outlook 2007 2007 . . . . . . . . . . . . . . . . .3
Outlook as a Platform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
1
2
Part II
Quick Guide to Building Solutions
Writing Your First Outlook Add-in Using Visual Basic .NET . . . . . . . . . . 61
Writing Your First Outlook Add-in Using C# . . . . . . . . . . . . . . . . . . . . . . 87
3
4
Part III
Working with Outlook Data
Built-in Item Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Accessing Outlook Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Address Books and Recipients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Responding to Events. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Sharing Information with Other Users. . . . . . . . . . . . . . . . . . . . . . . . . . .
Organizing Outlook Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Searching Outlook Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
115
171
215
247
281
297
335
5
6
7
8
9
10
11
Part IV
Providing a User Interface for Your Solution
Introducing the Outlook User Interface . . . . . . . . . . . . . . . . . . . . . . . . .
Creating Form Regions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Form Region Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Extending the Ribbon. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Completing Your User Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
371
391
435
453
471
12
13
14
15
16
Part V
Advanced Topics
Using the
PropertyAccessor
Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 489
Add-in Setup and Deployment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 509
Trust and Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 519
17
18
19
v
Table of Contents
Foreword. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi
Acknowledgments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xxv
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xxvii
Why We Wrote This Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxvii
Who This Book Is For . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxviii
How This Book Is Organized. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxviii
Part I: Introducing Microsoft Office Outlook 2007 . . . . . . . . . . . . . . . . . . . . . xxviii
Part II: Quick Guide to Building Solutions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxix
Part III: Working with Outlook Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxix
Part IV: Providing a User Interface for Your Solution . . . . . . . . . . . . . . . . . . . . xxix
Part V: Advanced Topics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxx
Sample Code on the Web . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxx
Code Snippets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxiii
Building the Sample Add-Ins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxiii
System Requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxv
Support for This Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxv
Part I
Introducing Microsoft Office Outlook 2007
What’s New in Microsoft Office Outlook 2007 . . . . . . . . . . . . . . . . . . . . . .3
Form Regions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Security. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Table
Object. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Improved Search. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Enhanced Events. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
AddressEntry
Enhancements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
SelectNamesDialog
Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
ExchangeUser
and
ExchangeDistributionList
Objects . . . . . . . . . . . . . . . . . . . . . 12
1
What do you think of this book? We want to hear from you!
Microsoft is interested in hearing your feedback so we can continually improve our books and learning
resources for you. To participate in a brief online survey, please visit:
www.microsoft.com/learning/booksurvey/
vii
Plik z chomika:
Phoob
Inne pliki z tego folderu:
Microsoft-Outlook-2007-Programming.pdf
(13033 KB)
Microsoft-Outlook-2010-Inside-Out.pdf
(21867 KB)
Programming-Applications-for-Microsoft-Office-Outlook-2007.pdf
(9689 KB)
Inne foldery tego chomika:
ASP.NET
ASP.NET MVC
BizTalk 2010
Blend
c#
Zgłoś jeśli
naruszono regulamin