Microsoft KB Archive/169751

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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:

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

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.

REFERENCES

For more information on installing the Vbaoutl.hlp Help file, please see the following article(s)in the Microsoft Knowledge Base:

166738 "OL97: How to Install Visual Basic Help"


For more information about creating solutions with Microsoft Outlook 97, please see the following articles in the Microsoft Knowledge Base:

166368 OL97: How to Get Help Programming with Outlook


170783 OL97: Q&A: Questions about Customizing or Programming Outlook



Additional query words: OutSol OutSol97

Keywords: kbprogramming KB169751