OL2000: DistListItem Doesn't Prompt to Save When Closed (224872)
The information in this article applies to:
This article was previously published under Q224872 SYMPTOMS
You used the AddMembers method on a distribution list item, but Outlook does not prompt you to save changes when you programmatically close the distribution list.
CAUSE
All of the following conditions are true: - You did not display the distribution list item before using the AddMembers method.
-and-
- You did not use the Save method to explicitly save the distribution list.
-and-
- You used the Close method with the olPromptForSave constant.
RESOLUTION
This problem is fixed in Microsoft Outlook 2002. This problem has also been fixed for Outlook 2000. For additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
273670 OL2000: Outlook Object Model Does Not Add or Remove Contacts
WORKAROUND
Use one of the following methods to work around this problem:
- Use the DistListItem.Display method before using the AddMembers method.
-or- - Use the Save method to explicitly save the DistListItem.
-or- - Change another property of the DistListItem, such as the DLName, which will properly dirty the item so that it will save.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. REFERENCES
For additional information about available resources and answers
to commonly asked questions about Microsoft Outlook 2000 solutions,
please see the following article in the Microsoft Knowledge Base: 146636 OL2000: Questions About Custom Forms and Outlook Solutions
Modification Type: | Major | Last Reviewed: | 9/29/2003 |
---|
Keywords: | kbbug kbProgramming KB224872 |
---|
|