Microsoft KB Archive/107438

-

{| 6.00 WINDOWS kbinterop The information in this article applies to:
 * width="100%"|


 * Microsoft Word for Windows, version 6.0 ---

SUMMARY
This article contains information on using templates supplied with Word versions 1.x and 2.x for Windows in Word version 6.0 for Windows. It lists the result of converting each Word 1.x or 2.x template (see the "Results of Word 1.x Template Conversion" or "Results of Word 2.x Template Conversion" sections below). This article also includes special instructions about converting the Word 2.x MEMO2.DOT file and its corresponding MEMO2.INI file.

You can convert most of the templates supplied with Word 1.x and 2.x for use with Word 6.0, with a few exceptions, which are noted below. In some cases, new Word 6.0 features or the modified WordBasic language render Word 2.x templates obsolete or less efficient.

WARNING: ANY USE BY YOU OF THE CODE PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this macro code "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

Microsoft does not support the modification of macros supplied with Word for Windows.

USING WORD 2.X TEMPLATES
To use templates supplied with Word 2.x in Word 6.0, perform the following steps (see the next section for additional instructions about converting the Word 2.x MEMO2.DOT template):

 In Word 6.0, choose Open from the File menu. Select the Word 2.x template you want to use in Word 6.0 and then choose OK.  From the File menu, choose Save. Choose the Yes button when Word displays the following message: The file .DOT is a Word version 2.0 for Windows document. Do you want to overwrite it with Word version 6.0 for Windows format? Then choose the Yes button when this second message appears: Word converted the macros in this template so that they are compatible with Word version 6.0. Before saving the template, would you like to save a backup copy of the original template called .OLD? Note: As a routine precautionary measure, Microsoft suggests that you copy these backup files to a floppy disk for safekeeping.  Move the converted templates to the Word 6.0 \TEMPLATE subdirectory (where  is the name of your Word 6.0 for Windows program directory; for example, C:\WINWORD\TEMPLATE). If Word version 6.0 was installed over 2.0, "WordBasic Err = 64 Bad Filename" may appear when closing any file, if the NORMAL.DOT from 2.0 has been converted to 6.0 format. Renaming NORMAL.DOT (and WINWORD.OPT) will eliminate the error message.

Using the Word 2.x MEMO2.DOT Template in Word 6.0
Both Word 2.x and 6.0 supply a template named MEMO2.DOT, so you need to rename the Word 2.x MEMO2.DOT and MEMO2.INI files before you open them in Word 6.0 using the preceding instructions. Both files must have the same filename, as shown in the example below:

Word 2.x Filename         Word 6.0 Filename -         -

MEMO2.DOT                 MYMEMOS.DOT MEMO2.INI                 MYMEMOS.INI

Note: The MEMO2.INI file does not exist unless you created a memo distribution list in Word 2.x. You should place the .INI and .DOT files for Word 6.0 in the \WINWORD\TEMPLATE subdirectory. If you overwrite the Word 6.0 MEMO2.DOT with the Word 2.x version of the file instead of renaming it, the Word 6.0 Memo Wizard may behave unpredictably. Furthermore, you may lose the memo distribution information stored in MEMO2.INI.

RESULTS OF WORD 2.x TEMPLATE CONVERSION
IMPORTANT: Microsoft recommends that you discard obsolete templates to avoid unpredictable results. Microsoft does not guarantee the functionality of Word 2.x templates in Word 6.0.

ARTICLE2.DOT
Template macro does not run, and the following WordBasic error message occurs:

WordBasic ERR=537: Unable to run macro specified To correct this error, modify the ToolsMacro statements in the AutoNew macro to appear as follows: Sub MAIN ToolsMacro .Name = "SetPreferences", .Show = 3, .Run ToolsMacro .Name = "Configure", .Show = 3, .Run MsgBox "You may begin your article at the insertion point.", \ "Article Manuscript", 64 End Sub

DATAFILE.DOT
Obsolete. You should use the Word 6.0 Mail Merge Helper instead; it is faster and more efficient. The DATAFILE toolbar created by this template is only visible in Word 6.0 if you select the Word For Windows 2.0 toolbar in the View Toolbars dialog box.

DISSERT2.DOT
Same functionality as in Word 2.x. You may need to modify paragraph formatting and spacing settings. The Insert Title Page, Insert Dissertation Part, Insert Table of Contents, Insert Chapter Start, Insert Appendix, and Insert Bibliography commands display the following WordBasic error message due to changes in the Word 6.0 WordBasic macro language:

WordBasic ERR=123: Undefined Dialog Record Field

FAX.DOT
Same functionality as in Word 2.x. However, this template is obsolete because it has been replaced by the Fax Wizard and two Word 6.0 fax templates.

LETTER TEMPLATES
Same functionality as in Word 2.x. However, the letter templates (LETBLOCK.DOT, LETMDSEM.DOT, LETMODBK.DOT, and LETPERSN.DOT) are obsolete because they have been replaced with the Letter Wizard and numerous Word 6.0 templates.

Word 6.0 converts glossary entries to AutoText entries if you use the steps listed at the beginning of this article to open the Word 2.x template. As with Word 2.x, these AutoText entries only work when you use them in conjunction with the letter template macros because they contain pipe characters (|) in place of paragraph marks.

The following problems occur when you use the letter templates in Word 6.0:

<ul>  When you choose Create Mailing Label from the Format menu, the following error message occurs: ERR = 124: Unknown Command, Subroutine or Function </li>  When you choose Set Letter Options from the Format menu, the following error messages occur: ERR = 123: Undefined Dialog Record Field -and- Word Cannot Find the Requested Bookmark </li> When you choose Set Letter Options from the Format menu, "Undefined" may display next to the Salutation button in the These Are The Current Settings area.</li> "Error Bookmark not Defined" messages appear in the new document initially, then Word replaces the bookmarks with fields.</li> When you use the LETBLOCK template from Word 6, from the File menu, the Options button is not available. This is true even after you save the template in Word 6 format.</li></ul>

MAILLABL.DOT
This template is obsolete. It produces the following WordBasic error message, regardless of the document settings:

ERR = 1042: Setting you chose for the Left and Right Margins, Column Spacing, or Paragraph are too large for the page width in some sections.

MEMO2.DOT
Same functionality as in Word 2.x. You must rename the MEMO2.DOT and MEMO2.INI files before you open them in Word 6.0. For instructions, see the "Using the Word 2.x MEMO2.DOT Template in Word 6.0" section above in this article.

The following problems occur when you use the Word 2.x MEMO2.DOT in Word 6.0:

<ul> When you choose Set Memo Options from the Format menu, choose the Memo Title button, and then choose the Default button, the template positions the Memo Title test at the left margin.</li> When you choose Address Memo from the Format menu, choose the Copy List button, and then choose the Replace With New Names button, the template does not replace the names correctly.</li>  When you choose Close from the File menu, the following error message occurs: ERR = 64 Bad Filename </li></ul>

MSWORD.DOT
The template is obsolete.

NEWMACRO.DOT
The template is obsolete.

OVERHEAD.DOT
Same functionality as in Word 2.x.

PRESS.DOT
When you use the Change Contact Information command, the template attempts to add an AutoText entry named Contact. This action produces an invalid AutoText entry.

You can initially insert contact information, but you cannot then change the contact information in the Format Update Press Release dialog box. If you change this information, the template does not insert the changes in your document.

PROPOSAL.DOT
The same functionality as in Word 2.x.

REPLAND.DOT
The same functionality as in Word 2.x.

REPSIDE.DOT
The same functionality as in Word 2.x.

REPSTAND.DOT
The same functionality as in Word 2.x.

TERM2.DOT
The same basic functionality as in Word 2.x. However, the following error message occurs when you run the Insert Title Page, Insert Chapter Start, or Insert Bibliography commands:

WordBasic ERR = 123: Undefined Dialog Record Field

USING WORD 1.x TEMPLATES
To use the templates supplied with Word 1.x with Word 6.0, you must convert the Word 1.x templates to Word 2.x format by opening and saving them in Word 2.x. If you open a Word 1.x template directly in Word 6.0, the following message displays and the template may be unusable in Word 6.0:

Word is opening a Word version 1.x for Windows template. Macros from Word 1.x for Windows can not be converted and will be lost if this file is saved in Word 6.0 for Windows format. This message is returned for both 1.x document files with attached templates, and for templates files. The message is also returned whether or not the relevant template contains any macros.

Results of Word 1.x Template Conversion
IMPORTANT: Microsoft recommends that you discard obsolete templates to avoid unpredictable results. Microsoft does not guarantee the functionality of Word 1.x templates in Word 6.0.

1.x Templates with Functionality the Same as 2.x
The following 1.x templates have the same functionality as in Word 2.x.

Template      Notes -

ARTICLE.DOT   Same functionality, but causes the WordBasic error message "WordBasic ERR=122: Type Mismatch" to occur. BASIC.DOT BRIEF.DOT BROCHDAT.DOT BROCHMRG.DOT BROCHURE.DOT CONTRACT.DOT DISSERT.DOT FRMLTR.DOT PAPER.DOT PCWORD.DOT REPORT.DOT TERM.DOT

Obsolete 1.x Templates
The following 1.x templates are obsolete.

Template      Notes -

DATADOC.DOT   Use the Word 6.0 Mail Merge Helper instead.

ENVELOPE.DOT  Once you set a Custom LetterHead, you cannot return to                  the Standard LetterHead setting. LBL15COT.DOT LBL1COLT.DOT LBL2COL.DOT LBL2COLT.DOT LBL3COL.DOT LBL3COLT.DOT LETTER.DOT    Causes the WordBasic error message "WordBasic ERR=537:                  Unable to run macro specified" to occur.

MEMO.DOT      Causes the WordBasic error message "WordBasic ERR=537:                  Unable to run macro specified" to occur.
 * }

-

Last reviewed: June 25, 1997

© 1998 Microsoft Corporation. All rights reserved. Terms of Use.