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

Article translations Article translations
Article ID: 287525 - View products that this article applies to.
This article was previously published under Q287525
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

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 Microsoft Advisory Services. For more information, visit these Microsoft Web sites:

Microsoft Certified Partners - https://partner.microsoft.com/global/30000104

Microsoft Advisory Services - http://support.microsoft.com/gp/advisoryservice

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("Outlook.Application")
set objDrafts = objOOM.GetNamespace("MAPI").GetDefaultFolder(16)
for each objForm in objDrafts.Items
     MsgBox objForm.Subject & " " & 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).
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 287525 - Last Review: October 25, 2013 - Revision: 1.0
Applies to
  • Microsoft Outlook 2000 Standard Edition
Keywords: 
kbnosurvey kbarchive kbhotfixserver kbqfe kbOffice2000SP3Fix kbbug kberrmsg kbfix kboffice2000presp3fix KB287525

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com