WordBasic Errors When Trying to Display Word 2.0 Dialog Boxes

Last reviewed: July 30, 1997
Article ID: Q105028
The information in this article applies to:
  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows 95, version 7.0
  • Microsoft Windows operating system version 3.1

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


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 30, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.