Microsoft KB Archive/267946

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

Article ID: 267946

Article Last Modified on 10/26/2006

-

APPLIES TO


 * Microsoft Outlook 2000 Standard Edition

-



This article was previously published under Q267946



SYMPTOMS
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(&quot;MAPI.Session&quot;) ObjSession.Logon dim objPrivateStore Set objPrivateStore = ObjSession.InfoStores(&quot;Boite aux lettres - Keith Personett-FRN&quot;) strIDTrash = objPrivateStore.Fields.Item(&H35E30102).Value Dim objContacts Set objContacts = ObjSession.GetFolder(strIDTrash, objPrivateStore.ID) Set objInfostore = ObjSession.InfoStores(&quot;Public Folders&quot;) strIDDossierFavoris = objInfostore.Fields.Item(&H66300102).Value Set objDossierFavoris = ObjSession.GetFolder(strIDDossierFavoris, ObjInfostore.ID) Set objFolder = objDossierFavoris.Folders(&quot;TestOfflineFavorite&quot;) 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

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.



RESOLUTION
IMPORTANT: Installation of the Office 2000 SR-1 Update is required to install this hotfix.

A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next Microsoft Office 2000 service release that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS

NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

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



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

Additional query words: OL2K VBA 9.0 9 0 cdo OL20 oom

Keywords: kbhotfixserver kbqfe kbbug kbfix kboffice2000presr2fix kbqfe KB267946

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.