WordBasic Errors When Trying to Display Word 2.0 Dialog Boxes

ID: Q105028

The information in this article applies to:

SYMPTOMS

When you try to display certain Word 2.0 for Windows dialog boxes in Word 6.0 for Windows or Word 7.0 for Windows 95, using a WordBasic statement with the "WW2_" prefix, one of the following errors may occur instead:

   Error 509: Command not available

   -or-

   Error 102: Command Failed

CAUSE

The code to display the Word 2.x dialog box was replaced with the code to display the new Word 6.0 version of the dialog box. You can use the WW2_ statements to set options or return information from the Word 2.x dialog boxes, but you cannot display the dialog box in Word 6.0. The following is a list of the Word 2.x dialog boxes you cannot display using the WW2_ statement in Word 6.0:

Word Statement                     Note
--------------                     ----

NormalViewHeaderArea               Corresponds to the ViewHeaderFooter
                                   statement in Word 2.x

WW2_EditFindChar

WW2_EditReplaceChar

WW2_FormatDefineStyleChar

WW2_PrintMerge

WW2_PrintMergeCheck

WW2_PrintMergeHelper

WW2_PrintMergeSelection

WW2_PrintMergeToDoc

WW2_PrintMergeToPrinter

WW2_ToolsOptionsGeneral            Error 509: Command not available

WW2_ToolsOptionsKeyboard           Error 509: Command not available

WW2_ToolsOptionsMenus              Error 509: Command not available

WW2_ToolsOptionsToolbar

WW2_ToolsOptionsView               Error 509: Command not available

WW2_ViewZoom                       Error 102: Command failed

MORE INFORMATION

For more information, search for "wordbasic" in online Help and then choose the "Converting Word Version 2.x Macros" topic.

Kbcategory: kbusage kbmacro KBSubcategory: Additional query words: 6.0 getcurvalues dim dlg word6 6.0a 6.0c 7.0 word95 word7 dimension dialogs winword

Version           : 6.0 6.0a 6.0c 7.0
Platform          : WINDOWS

Last Reviewed: July 30, 1997