Programming Microsoft Outlook and Microsoft Exchange 2003, Third Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Programming Microsoft Outlook and Microsoft Exchange 2003, Third Edition [Electronic resources] - نسخه متنی

Thomas Rizzo

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
توضیحات
افزودن یادداشت جدید

The Outlook Object Browser

To make finding objects in the Outlook object model easier, Outlook provides an object browser, shown in Figure 6-2. The Object Browser lists the available Outlook objects with their methods and properties. You can add an object to your code by clicking the Insert button. Clicking Object Help opens the Outlook object library help file.


Figure 6-2: The Outlook Object Browser, which is accessible from the Script Editor and allows you to insert objects into your code and get help on objects.

Outlook provides an object browser only for the Outlook object library, not for the Microsoft Forms 2.0 object library. To browse the objects contained in this library, you must use the VBA Object Browser from another product or within Outlook. Also, because the Microsoft Forms 2.0 object library is shared across the Office applications, you do not need to add a reference to this library in the Object Browser: the library is added by default to the VBA Object Browser. The following steps explain how to view the Microsoft Forms 2.0 object library from Outlook. You can use the same steps in other Office applications.

From the Tools menu, choose Macro and then Visual Basic Editor.

From the View menu, choose Object Browser.

To view the Microsoft Forms 2.0 object library, select MSForms from the Project/Library drop-down list, as shown in Figure 6-3. (If you don't see MSForms in your drop-down list, add it to your references, as explained in the next step.)


Figure 6-3: The VBA Object Browser being used to view the Microsoft Forms 2.0 object library

To view other object libraries, such as the Outlook object library, you must add a reference to the library: from the Visual Basic Editor Tools menu, choose References. Select the library you want to add as a reference. For Outlook, select Microsoft Outlook 11.0 Object Library and then click OK. For Forms 2.0, you can browse to c:\windows\system32\fm20.dll.

In the Project/Library drop-down list, select Outlook to view only the Outlook object library.

/ 227