Microsoft KB Archive/287525

= OL2000: You Cannot Access a Custom Form If You Use the Outlook Object Model =

Article ID: 287525

Article Last Modified on 11/23/2006

-

APPLIES TO


 * Microsoft Outlook 2000 Standard Edition

-



This article was previously published under Q287525



SYMPTOMS
When you try to access a custom form with the Microsoft Outlook object model, you receive the following error message:

The custom form could not be opened. Outlook will use an Outlook form instead.



CAUSE
Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact a Microsoft Certified Partner or the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft Certified Partners, please visit the following Microsoft Web site:

https://partner.microsoft.com/global/30000104

For more information about the support options that are available and about how to contact Microsoft, visit the following Microsoft Web site:

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

This problem occurs because of how Outlook 2000 accesses the property on a custom form. The following is an example of how Outlook 2000 accesses the EntryID property on a custom form: dim objOOM as object dim objDrafts as object dim objForm as object

' Touch all forms in the Drafts (id = 16) folder set objOOM = CreateObejct(&quot;Outlook.Application&quot;) set objDrafts = objOOM.GetNamespace(&quot;MAPI&quot;).GetDefaultFolder(16) for each objForm in objDrafts.Items MsgBox objForm.Subject & &quot; &quot; & objForm.Entryid next objForm



RESOLUTION
To resolve this problem, obtain the latest service pack for Microsoft Office 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

276367 OFF2000: How to Obtain the Latest Office 2000 Service Pack

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time    Version       Size       File name --  26-Jan-01    7:03:59  9.0.0.4924   5,324,850  Outllib.dll 26-Jan-01   7:05:20  9.0.0.4924   1,675,315  Outllibr.dll



WORKAROUND
To work around this problem, access a custom form through Collaboration Data Objects (CDO) instead of the Outlook object model.



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

This problem was first corrected in Microsoft Office 2000 Service Pack 3 (SP-3).

Keywords: kbhotfixserver kbqfe kboffice2000sp3fix kbbug kberrmsg kbfix kboffice2000presp3fix KB287525

-

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

© Microsoft Corporation. All rights reserved.