Microsoft KB Archive/169751

= OL97: Errors in Outlook Visual Basic Help (Vbaoutl.hlp) =

Article ID: 169751

Article Last Modified on 2/12/2007

-

APPLIES TO


 * Microsoft Outlook 97 Standard Edition

-



This article was previously published under Q169751



SUMMARY
This article lists all of the known documentation errors in the Microsoft Outlook Visual Basic Help file (Vbaoutl.hlp), which describes the Outlook object model.



MORE INFORMATION
Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact a Microsoft Certified Partner or the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft Certified Partners, please visit the following Microsoft Web site:

https://partner.microsoft.com/global/30000104

For more information about the support options that are available and about how to contact Microsoft, visit the following Microsoft Web site:

http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS

Help Topic - Add Method (Recipients Collection) Example
The line of code: Set myRecipient.Type = olCC Should read: myRecipient.Type = olCC

Help Topic - Recipients Collection Object
The two lines of code that read: Set myRecipient = myItem.Recipients.Add "Jon Grande" Should read: Set myRecipient = myItem.Recipients.Add("Jon Grande")

Help Topic - Recipients Object
This topic has the same problem as "Recipients Collection Object" above.

Help Topic - CreateItemFromTemplate Method Example
The line of code: Set myOlApp = CreateObject("Outlook Application") Should read: Set myOlApp = CreateObject("Outlook.Application")

Help Topic - SentOnBehalfOfName Property
The Outlook Visual Basic Help file (Vbaoutl.hlp) incorrectly states that the SentOnBehalfOfName property is read-only.

When you use Microsoft Visual Basic Script with Outlook 97, you should use the SentOnBehalfOfName property to set the "From" field on a form.

For more information on setting a From field, please see the following article(s)in the Microsoft Knowledge Base:

168022 OL97: How to Set a Form's From Field Using VBScript

Help Topic - NoteItem and ReportItem Objects
The NoteItem and ReportItem objects do not support any events, although the Help file has cross-references that imply they do.

Help Topic - CustomerID Property
This property is read-write, not read-only.

