GP Fault with DocProperty Field in Header or Footer

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.

Additional query words: 6.0 winword word6 document property docproperty gpf gp fault general protection application error crash crashes crashed

Keywords : kbfield
Version : WINDOWS:6.0,6.0a,6.0c,7.0,7.0a
Platform : WINDOWS
Issue type :


Last Reviewed: October 18, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.