Article ID: 267946 - View products that this article applies to.
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:
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.
Set ObjSession = CreateObject("MAPI.Session") ObjSession.Logon dim objPrivateStore Set objPrivateStore = ObjSession.InfoStores("Boite aux lettres - Keith Personett-FRN") strIDTrash = objPrivateStore.Fields.Item(&H35E30102).Value Dim objContacts Set objContacts = ObjSession.GetFolder(strIDTrash, objPrivateStore.ID) Set objInfostore = ObjSession.InfoStores("Public Folders") strIDDossierFavoris = objInfostore.Fields.Item(&H66300102).Value Set objDossierFavoris = ObjSession.GetFolder(strIDDossierFavoris, ObjInfostore.ID) Set objFolder = objDossierFavoris.Folders("TestOfflineFavorite") Set objFields = objFolder.Fields Set MyNewField = objFields.Add(&H663D0003, 1) objFolder.Update If (Err.Number) Then MsgBox (Err.Description) End If Set objPrivateStore = nothing Set objContacts = nothing
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:
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.