OL98: Do Not Use "New" Keyword to Declare New Items (192861)
The information in this article applies to:
This article was previously published under Q192861 SUMMARY
The Microsoft Outlook 98 object library allows you to initialize a new
variable as a particular type of item, such as in the following example:
Dim MyContactItem As New Outlook.ContactItem
However, this syntax should not be supported by the object model and may
cause subsequent problems in the code you are creating for a solution.
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: | Minor | Last Reviewed: | 2/26/2004 |
---|
Keywords: | kbinfo kbprogramming KB192861 |
---|
|