Microsoft KB Archive/180967

From BetaArchive Wiki

Article ID: 180967

Article Last Modified on 3/1/2004



APPLIES TO

  • Microsoft Outlook 98 Standard Edition



This article was previously published under Q180967

SUMMARY

This article describes two ways to determine how to refer to a standard Outlook field using Microsoft Visual Basic Scripting Edition (VBScript) or Microsoft Visual Basic automation code.

MORE INFORMATION

In many cases, the Outlook standard fields are referenced by a different name by using the Outlook object model. To see how the field names in Outlook match up to the property names in the Outlook object model, use either of these two methods:

  • Refer to the table listing in the Forms Help file.
  • Refer to the Microsoft Visual Basic for Applications (Object Model) Help file.

Refer to the Table Listing in the Forms Help File

In the Outlook 98 Forms Help file (Olform.hlp), there is a section titled "Outlook fields and equivalent properties." In the Contents of the Help file, it is located in:

 - Outlook Customization and Forms
    - Working with Fields and Controls
       - Controls, Fields, and Properties
          - Outlook fields and equivalent properties
                    

Refer to the VBA (Object Model) Help File

In the Outlook VBA Help file (Vbaoutl.hlp), you can navigate to the item type that corresponds to the type of form that you are working with. Examples include the ContactItem, MailItem, TaskItem objects, and so on. On the Help pages that describe these types of items, you can click the Properties link at the top of the page to see the available property names that are valid for that item type.

REFERENCES

For additional information about creating solutions with Microsoft Outlook, click the article numbers below to view the articles in the Microsoft Knowledge Base:

180826 OL98: Resources for Custom Forms and Programming


182349 OL98: Questions About Custom Forms and Outlook Solutions



Additional query words: OutSol OutSol98 vbscript

Keywords: kbhowto KB180967