OL98: Programmatically-Created Attachment Loses Icon (198026)
The information in this article applies to:
This article was previously published under Q198026 SYMPTOMS
Using Microsoft Visual Basic Scripting Edition (VBScript) or Microsoft
Visual Basic for Applications code, you can attach one Microsoft Outlook
item to another.
If you send a mail message with such an attachment, the person who receives
the message may not be able to see the icon for the attachment. The
attached item however, is intact and functions correctly.
CAUSE
This problem is a result of how you write the code for the item attachment.
Using an object variable results in the problem described in the "Symptoms"
section.
RESOLUTION
When attaching the second item to the first, use the
ActiveInspector.CurrentItem object to reference the attached item. For an example of how to resolve this problem, see the "Corrected Code" section later in this article.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. REFERENCES
For more information about creating solutions with Microsoft Outlook 98,
please click the article numbers below to view the 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: | Major | Last Reviewed: | 6/23/2005 |
---|
Keywords: | kbDSWNET2003Swept kbbug kbdtacode kbpending kbProgramming KB198026 |
---|
|