The information in this article applies to:
SYMPTOMSUsing 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. CAUSEThis problem is a result of how you write the code for the item attachment. Using an object variable results in the problem described above. RESOLUTIONWhen 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 this to be a problem in the Microsoft products listed at the beginning of this article. MORE INFORMATIONMicrosoft 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 Solution Provider
or the Microsoft fee-based consulting line at (800) 936-5200. For more information about
Microsoft Certified Solution Providers, please see the following page on the World Wide Web:
http://www.microsoft.com/mcsp/For more information about the support options available from Microsoft, please see the following page on the World Wide Web: http://www.microsoft.com/support/supportnet/overview/overview.asp Corrected CodeIf you repeat the steps below but follow the comment instructions to use:
instead of
your e-mail message will include the attachment icon.
Steps to Reproduce the Problem
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: Q166368 OL97: How to Get Help Programming with Outlook Q170783 OL97: Q&A: Questions About Customizing or Programming Outlook Additional query words: OutSol OutSol97
Keywords : kbcode |
Last Reviewed: December 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |