Microsoft KB Archive/249156

From BetaArchive Wiki

Article ID: 249156

Article Last Modified on 9/29/2003


  • Microsoft Outlook 2000 Standard Edition

This article was previously published under Q249156


You implement the ItemAdd event in your custom solution, but the event does not fire when a large number of items are added to the folder at once.


This is due to Microsoft Exchange Server and MAPI using different methods when moving large amounts of data. Outlook does not take this into account and therefore the event fails to fire in those cases.


To work around this problem, your solution will need to keep track of the number of items in the folder, and check at a certain interval to see if there are new items.

NOTE: Outlook does not provide any timer-related events in its object model. This functionality will have to be done with some external component, such as an Exchange Server Scripting Agent which does have a timer-based event, a Timer control in Visual Basic, or by using the Windows Task Scheduler to run a standalone Visual Basic application at a certain interval.


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


This problem typically occurs in the following circumstances:

  • The user copies or moves many items into a folder.
  • You programmatically add many items to a folder.

The number of items necesary to reproduce this problem varies depending on the size of the items.


For additional information about available resources and answersto commonly asked questions about Outlook solutions, click the article number below to view the article in the Microsoft Knowledge Base:

146636 OL2000: Questions About Custom Forms and Outlook Solutions

Additional query words: OutSol OutSol2000

Keywords: kbbug kbnofix kbprogramming KB249156