OL98: Object Model Events Not Exposed Outside of Outlook (192856)



The information in this article applies to:

  • Microsoft Outlook 98

This article was previously published under Q192856

SYMPTOMS

When trying to use the Microsoft Outlook 98 object model and the WithEvents command in a Microsoft Visual Basic program, you receive the following error when you compile your application:
Compile error: Object library feature not supported

CAUSE

The object library file Msoutl85.olb does not include event information for Outlook Objects which it describes.

WORKAROUND

Use the Microsoft Outlook 97 object library (Msoutl8.olb).

STATUS

Microsoft has confirmed this to be a problem in Microsoft Outlook 98.

REFERENCES

For more information about creating solutions with Microsoft Outlook 98, please see the following articles in the Microsoft Knowledge Base:

180826 OL98: Resources for Custom Forms and Programming

182349 OL98: Questions About Custom Forms and Outlook Solutions


Modification Type:MinorLast Reviewed:2/27/2004
Keywords:kbAutomation kbbug kbpending kbProgramming KB192856