OL98: Outlook Doesn't Exit After Using PublishForm Method

ID: Q222526


The information in this article applies to:


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 

NOTE: If this product was already installed on your computer when you purchased it from the Original Equipment Manufacturer (OEM) and you need this fix, please call the Pay Per Incident number listed on the above Web site. If you contact Microsoft to obtain this fix, and if it is determined that you only require the fix you requested, no fee will be charged. However, if you request additional technical support, and if your no-charge technical support period has expired, or if you are not eligible for standard no-charge technical support, you may be charged a non-refundable fee.

For more information about eligibility for no-charge technical support, see the following article in the Microsoft Knowledge Base:
Q154871 Determining If You Are Eligible for No-Charge Technical Support


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: July 2, 1999