O'Reilly logo

Professional Outlook® 2007 Programming by Ken Slovak

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Outlook Development

This chapter focuses on the Application and NameSpace objects. As you've already learned in Chapter 1, these objects are your entry point into Outlook programming and are used throughout your Outlook applications. To help you understand the Application object, this chapter introduces methods for instantiating globally available and trusted Application and NameSpace objects for COM addins programmed using languages such as VB.NET and C#, with Visual Studio 2005 and VSTO 2005 SE development platforms. You then learn about some of the new methods, properties, and events of the Application object. You discover how to program context menus, and you get to work with context menus in many of the examples in this book. To better understand the NameSpace object, this chapter introduces you to the new Categories collection and Category objects, Exchange information, and user interface dialogs.

The version of VSTO used for Outlook 2007 development is VSTO 2005 SE. It is referred to as VSTO in this book.

The Application Object

The Outlook object model guard is much less intrusive in Outlook 2007 than in any previous secure version of Outlook, as you learned in Chapter 2. There are times, however, when tighter security is in effect, so it's important to handle the Application object correctly, and to verify if your code is trusted. Even if your code is running on Outlook 2003, security policies are more relaxed for trusted code so it's important to handle Application ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required