OL98: Outlook Doesn't Exit After Using PublishForm Method

ID: Q222526


The information in this article applies to:
  • Microsoft Outlook 98


SYMPTOMS

Outlook does not quit completely after using the PublishForm method in the Outlook object model.


CAUSE

Your code publishes the form in a folder.


RESOLUTION

Use one of the following methods.

Method 1

Publish the form to the Personal Forms Library instead.

Method 2

A supported fix that corrects this problem is now available from Microsoft, but it has not been fully regression tested and should be applied only to systems experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information on support costs, please go to the following address on the World Wide Web:
http://www.microsoft.com/support/supportnet/overview/overview.asp
The English version of this fix should have the following file attributes or later:

File name     Version      Date
-------------------------------
Outllib.dll   8.5.6421.0  04/22/99 


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.
This problem was corrected in Microsoft Outlook 2000.


MORE INFORMATION

To force Outlook to quit when using the PublishForm method in the Outlook object model, use the following steps for your operating system.

Microsoft Windows 95/98

  1. Close all unsaved messages.


  2. Press CTRL+ALT+DELETE to open the Close Program dialog box.


  3. Click to select Microsoft Outlook, and then click End Task.


Microsoft Windows NT 4.x

  1. Close all unsaved messages.


  2. Press CTRL+ALT+DELETE and click Task Manager.


  3. On the Applications tab, click to select Microsoft Outlook, and then click End Task.


The PublishForm method allows you to programmatically publish a form to a forms library or folder. It is typically used in a solution that deploys forms in an organization.


REFERENCES

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

Q180826 OL98: Resources for Custom Forms and Programming
Q182349 OL98: Questions About Custom Forms and Outlook Solutions

Additional query words: OutSol OutSol98 vbscript

Keywords : kbdta OffVBS
Version : WINDOWS:98
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: August 19, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.