OL2000: Unable to Set Offline Synchronization Flag by Using Collaboration Data Objects and Outlook Object Model with Outlook 2000

This article was previously published under Q267946
This article has been archived. It is offered "as is" and will no longer be updated.
When you use the Microsoft Visual Basic for Applications method to update a Folder object to set a folder for offline synchronization, the Folder object may return a MAPI_E_NOT_FOUND Error (0x8004010f).

The following Visual Basic for Applications code reproduces this problem:
Set ObjSession = CreateObject("MAPI.Session")ObjSession.Logondim objPrivateStoreSet objPrivateStore = ObjSession.InfoStores("Boite aux lettres - Keith Personett-FRN")strIDTrash = objPrivateStore.Fields.Item(&H35E30102).ValueDim objContactsSet objContacts = ObjSession.GetFolder(strIDTrash, objPrivateStore.ID)Set objInfostore = ObjSession.InfoStores("Public Folders")strIDDossierFavoris = objInfostore.Fields.Item(&H66300102).ValueSet objDossierFavoris = ObjSession.GetFolder(strIDDossierFavoris, ObjInfostore.ID)Set objFolder = objDossierFavoris.Folders("TestOfflineFavorite")Set objFields = objFolder.FieldsSet MyNewField = objFields.Add(&H663D0003, 1)objFolder.UpdateIf (Err.Number) Then    MsgBox (Err.Description)End IfSet objPrivateStore = nothingSet objContacts = nothing					
With the code changes made in the Emsmdb32.dll file, the developer must make sure that the private information store is open so that this operation functions correctly.
IMPORTANT: Installation of the Office 2000 SR-1 Update is required to install this hotfix.

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.The English version of this fix should have the following file attributes or later:
   Date         Time    Version         Size     File name        -------------------------------------------------------------   8/31/2000    1:43PM  5.05.3142.0000  594,192  Emsmdb32.dll							

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
OL2K VBA 9.0 9 0 cdo OL20 oom

Article ID: 267946 - Last Review: 10/20/2013 23:12:21 - Revision: 3.5

Microsoft Outlook 2000 Standard Edition

  • kbnosurvey kbarchive kbautohotfix kbhotfixserver kbqfe kbbug kbfix kboffice2000presr2fix kbqfe KB267946