Microsoft KB Archive/109702

= Works: Templates Still Listed after Removing Them =

Article ID: 109702

Article Last Modified on 2/27/2002

-

APPLIES TO


 * Microsoft Works 3.0 Standard Edition

-



This article was previously published under Q109702



SUMMARY
Using the Add/Remove component of the Microsoft Works Setup program to remove the AutoStart Templates does not remove the template entries from the Startup dialog box.

If you select a removed template from the Startup dialog box, the following error message is generated:

Template file not found.

Works did not open the template because the file was gone.

It is being removed from the list of available templates.

If you choose OK when you receive the error message, the selected template entry is removed from the MSWORKS3.INI file.



MORE INFORMATION
If you delete the AutoStart Templates with Microsoft Works Setup, the template lines in the MSWORKS3.INI file are not removed. This occurs because Setup uses a special instruction for adding the lines, which automatically increments the .INI key to avoid overwriting INI .keys already present in the MSWORKS3.INI file. Due to the numeric counter in these .INI keys, Setup does not know what the .INI entries are and, as a result, cannot remove them.

When you select a deleted AutoStart Template from the AutoStart box, the following occurs:

The Template name is removed from the MSWORKS3.INI.

The last Template entry replaces the deleted one.

The TemplateMax= value is decreased.

STEPS TO REPRODUCE PROBLEM
NOTE: These steps assume the following: Income Statement template is Name11 in the [Template Section] of the MSWORKS3.INI, Video Collection is the last template entry and is Name40, and the TemplateMax=40)1. Run Works Setup and remove the Templates.


 * 1) In Works 3.0, choose Create New File from the File menu.
 * 2) In the Startup dialog box, choose the Use A Template button.
 * 3) In the Template dialog box, select the AutoStart Business template group, the Business Planning category, and the Income Statement Template.
 * 4) Choose Yes to the resulting message regarding removing the template.

Results:

The following occurs :


 * 1) The information after Name11 in the [Template Section] is removed.
 * 2) The Video Collection information is removed after Name40 and placed after Name11.

NOTE: The actual words "Name11" and "Name40" are not removed from the MSWORKS3.INI file.
 * 1) The TemplateMax= value is decreased to 39.

Additional query words: kbhowto w_works wp db ss comm template auto start clear delete uninstall cancel deinstall

Keywords: kbhowto KB109702

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.