Microsoft KB Archive/105028

From BetaArchive Wiki

WordBasic Errors When Trying to Display Word 2.0 Dialog Boxes

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 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.

Additional query words: 6.0 getcurvalues dim dlg word6 7.0 word95 word7 dimension dialogs winword

Keywords :
Issue type :
Technology :


Last Reviewed: December 15, 2000
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.