GP Fault with DocProperty Field in Header or Footer

Last reviewed: February 5, 1998
Article ID: Q142338
The information in this article applies to:
  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows 95, versions 7.0, 7.0a

SYMPTOMS

When you open a Word 7.0 document in Word 6.0 and that document contains the DocProperty field in the header or footer, you get the following general protection fault:

   Winword caused a General Protection Fault in Module Winword.exe
   at 006D:08D4.

This error does not occur when you use Microsoft Word for Windows NT, version 6.0, or Microsoft Word for the Macintosh, version 6.0.

When you use the DocProperty field code in the body of the document, the field code displays the following result instead of the general protection fault:

   Error! Bookmark not defined.

CAUSE

Word 6.0 does not support the DocProperty field code. The DocProperty field is a new feature of Word 7.0. This field is used to insert information from the Properties dialog box (File menu) into your document.

WORKAROUNDS

Method 1: Use one of the following equivalent field codes instead of the

          DocProperty field code.

             DocProperty Property              Equivalent Field Code
             --------------------              ---------------------

             Author                            Author
             Bytes                             Filesize
             Characters                        Numchars
             Comments                          Comments
             CreateTime                        CreateDate
             Keywords                          Keywords
             LastPrinted                       PrintDate
             LastSavedBy                       LastSavedBy
             LastSavedTime                     SaveDate
             Pages                             NumPages
             Subject                           Subject
             Template                          Template
             Title                             Title
             TotalEditingTime                  EditTime
             Words                             Numwords

Method 2: Unlink the field code in Word 7.0. For example, the properties
          listed below do not have equivalent field codes in Word 6.0. To
          preserve the field results, unlink the field.

             Category
             Company
             Lines
             Manager
             NameofApplication
             Paragraphs
             RevisionNumber
             Security

STATUS

Microsoft has confirmed this to be a problem in the versions of Word listed at the beginning of this article. This problem was corrected in Microsoft Word 97 for Windows.


KBCategory: kbusage kberrmsg
KBSubcategory: kbfield
Additional reference words: 6.0 6.0a 6.0c winword word6 document
property docproperty gpf gp fault general protection fault application
error crash crashes crashed
Keywords : kbfield
Version : 6.0 6.0a 6.0c 7.0 7.0a
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: February 5, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.