OL97: Programmatically-Created Attachment Loses Icon (172719)
The information in this article applies to:
This article was previously published under Q172719 SYMPTOMS
Using Visual Basic Scripting Edition (VBScript) or Visual Basic for
Applications code, you can attach one Microsoft Outlook 97 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 above.
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 below.
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 97,
please click the article numbers below to view the articles in the Microsoft Knowledge Base: 166368 OL97: How to Get Help Programming with Outlook
170783 OL97: Q&A: Questions About Customizing or Programming Outlook
Modification Type: | Major | Last Reviewed: | 6/23/2005 |
---|
Keywords: | kbDSWNET2003Swept kbcode kbprb kbProgramming KB172719 |
---|
|