Microsoft KB Archive/222526

= OL98: Outlook Doesn't Exit After Using PublishForm Method =

Article ID: 222526

Article Last Modified on 10/13/2005

-

APPLIES TO


 * Microsoft Outlook 98 Standard Edition

-



This article was previously published under Q222526



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 hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

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 that this is a problem in the Microsoft products that are 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.

