Microsoft KB Archive/142338

= GP Fault with DocProperty Field in Header or Footer =

Article ID: 142338

Article Last Modified on 8/17/2005

-

APPLIES TO


 * Microsoft Word 6.0 Standard Edition
 * Microsoft Word 6.0a
 * Microsoft Word 6.0c
 * Microsoft Word 95 Standard Edition
 * Microsoft Word 95a

-



This article was previously published under Q142338





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.



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 KB142338

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.