OL97: Outlook Stays in Memory After Using Attachments via Code

ID: Q183035

The information in this article applies to:

SYMPTOMS

You are creating a public folder solution using Microsoft Outlook 97 and after using the Outlook forms in the solution, either of the following two symptoms occur:

NOTE: These problems typically happen when using the Help Desk and Document Tracking sample applications available with Outlook.

CAUSE

Programmatically creating attachments in an item can cause Outlook to not exit properly, fully close, or release an item. Both of these sample applications use Visual Basic Scripting Edition (VBScript) code to create a mail message which contain a link to an item in a public folder.

WORKAROUND

Microsoft 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 the Microsoft fee-based consulting line at (800) 936-5200. 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/refguide/default.asp

Use either of the following two workarounds:

STATUS

Microsoft has confirmed this to be a problem in Microsoft Outlook 97. This problem has been corrected in Microsoft Outlook 98.

REFERENCES

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

   Article-ID: Q166368
   Title     : OL97: How to Get Help Programming with Outlook

   Article-ID: Q170783
   Title     : OL97: Q&A: Questions about Customizing or
                          Programming Outlook

Additional query words: OutSol OutSol97
Keywords          : kbcode OffVBS OffVBA 
Version           : WINDOWS:97
Platform          : WINDOWS
Issue type        : kbbug
Solution Type     : kbfix

Last Reviewed: May 17, 1999