OL98: GetSharedDefaultFolder Method Fails with Some Folder Types (294185)



The information in this article applies to:

  • Microsoft Outlook 98

This article was previously published under Q294185

SYMPTOMS

You use the GetSharedDefaultFolder method with the olFolderDeletedItems, olFolderOutbox, or olFolderSentMail constants, and receive the following error message:
Could not complete the operation. One or more parameter values are not valid.

CAUSE

This is an error in the documentation. You cannot use the olFolderDeletedItems, olFolderOutbox, or olFolderSentMail constants with the GetSharedDefaultFolder method.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

You can use the GetSharedDefaultFolder method with the following folders:
  • Calendar
  • Tasks
  • Inbox
  • Contacts
  • Notes
  • Journal
These are the folders that are listed in the Outlook user interface when you assign delegate permissions to the folders.

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


Modification Type:MinorLast Reviewed:2/26/2004
Keywords:kbbug kbnofix KB294185