Microsoft KB Archive/169751: Difference between revisions
(importing KB archive) |
m (Text replacement - "&" to "&") |
||
(One intermediate revision by the same user not shown) | |||
Line 76: | Line 76: | ||
The two lines of code that read: | The two lines of code that read: | ||
<pre class="codesample"> Set myRecipient = myItem.Recipients.Add | <pre class="codesample"> Set myRecipient = myItem.Recipients.Add "Jon Grande" | ||
</pre> | </pre> | ||
Should read: | Should read: | ||
<pre class="codesample"> Set myRecipient = myItem.Recipients.Add( | <pre class="codesample"> Set myRecipient = myItem.Recipients.Add("Jon Grande") | ||
</pre> | </pre> | ||
=== Help Topic - Recipients Object === | === Help Topic - Recipients Object === | ||
This topic has the same problem as | This topic has the same problem as "Recipients Collection Object" above. | ||
=== Help Topic - CreateItemFromTemplate Method Example === | === Help Topic - CreateItemFromTemplate Method Example === | ||
The line of code: | The line of code: | ||
<pre class="codesample"> Set myOlApp = CreateObject( | <pre class="codesample"> Set myOlApp = CreateObject("Outlook Application") | ||
</pre> | </pre> | ||
Should read: | Should read: | ||
<pre class="codesample"> Set myOlApp = CreateObject( | <pre class="codesample"> Set myOlApp = CreateObject("Outlook.Application") | ||
</pre> | </pre> | ||
=== Help Topic - SentOnBehalfOfName Property === | === Help Topic - SentOnBehalfOfName Property === | ||
Line 96: | Line 96: | ||
The Outlook Visual Basic Help file (Vbaoutl.hlp) incorrectly states that the SentOnBehalfOfName property is read-only.<br /> | The Outlook Visual Basic Help file (Vbaoutl.hlp) incorrectly states that the SentOnBehalfOfName property is read-only.<br /> | ||
<br /> | <br /> | ||
When you use Microsoft Visual Basic Script with Outlook 97, you should use the SentOnBehalfOfName property to set the | When you use Microsoft Visual Basic Script with Outlook 97, you should use the SentOnBehalfOfName property to set the "From" field on a form.<br /> | ||
<br /> | <br /> | ||
For more information on setting a From field, please see the following article(s)in the Microsoft Knowledge Base: | For more information on setting a From field, please see the following article(s)in the Microsoft Knowledge Base: | ||
Line 120: | Line 120: | ||
<div class="indent"> | <div class="indent"> | ||
[[../166738|166738]] | [[../166738|166738]] "OL97: How to Install Visual Basic Help" | ||
Line 133: | Line 133: | ||
<div class="indent"> | <div class="indent"> | ||
[[../170783|170783]] OL97: Q& | [[../170783|170783]] OL97: Q&A: Questions about Customizing or Programming Outlook | ||
Latest revision as of 12:29, 21 July 2020
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