This article was previously published under Q287525
This article has been archived. It is offered "as is" and will no longer be updated.
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.
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:
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 objectdim objDrafts as objectdim objForm as object' Touch all forms in the Drafts (id = 16) folderset objOOM = CreateObejct("Outlook.Application")set objDrafts = objOOM.GetNamespace("MAPI").GetDefaultFolder(16)for each objForm in objDrafts.Items MsgBox objForm.Subject & " " & objForm.Entryidnext objForm
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 18.104.22.16824 5,324,850 Outllib.dll 26-Jan-01 7:05:20 22.214.171.12424 1,675,315 Outllibr.dll
To work around this problem, access a custom form through Collaboration Data Objects (CDO) instead of the Outlook object model.
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).