OL2002: GetSharedDefaultFolder Method Fails with Some Folder Types (290064)



The information in this article applies to:

  • Microsoft Outlook 2002

This article was previously published under Q290064

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 available resources and answersto commonly asked questions about Microsoft Outlook solutions, click the article number below to view the article in the Microsoft Knowledge Base:

287530 OL2002: Questions About Custom Forms and Outlook Solutions


Modification Type:MinorLast Reviewed:3/1/2004
Keywords:kbbug kbnofix KB290064