Pressing BACKSPACE in WinWord Document Causes GP Fault |
Q114392
6.00 6.00a 6.00c WINDOWS kbusage buglist6.00 buglist6.00a buglist6.00c fixlist7.00If you press BACKSPACE many times in a document to delete text, Word for Windows may hang (stop responding), and one of the following error messages occur:
Application Error: WINWORD caused a General Protection Fault in module WINWORD.EXE at 00DE:4137
Application Error: WINWORD caused a General Protection Fault in module WINWORD.EXE at 0002:1223
The general protection (GP) fault occurs if your document contains a bookmark at the beginning of the document. The problem is unrelated to any file format conversion you may have performed in Word.
Microsoft has confirmed this to be a problem in Word for Windows, versions 6.0, 6.0a, and 6.0c. This problem was corrected in Word version 7.0 for Windows 95.
-or-
Sub MAIN
Clear = 1
If CmpBookmarks("\sel", "\startofdoc") <> 0 Then
If SelType() = 1 Then
CharLeft 1
If Selection$() = Chr$(21) Then
CharRight 1
Clear = 0
End If
End If
If Clear Then EditClear
End If
End Sub
Sub MAIN
ToolsCustomizeKeyboard .KeyCode = 8, .Category = 1, .Name =
"BackSpaceSubstitute", .Add, .Context = 0
End Sub
where the text from "ToolsCustomizeKeyboard..." to ".Context = 0" is all on one line.
Sub MAIN
ToolsCustomizeKeyboard .KeyCode = 8, .Category = 1, .Name =
"BackSpaceSubstitute", .Remove, .Context = 0
End Sub
where the text from "ToolsCustomizeKeyboard..." to
".Context = 0" is all on one line.
"Microsoft Word Developer's Kit," Word version 6.0 for Windows, Microsoft Press, 1994, pages 60-61, 826-828
Additional query words: 6.00a 6.00c winword gpf hang hung crash crashed locks locked frozen freezes crashing quit quits stopped crashes word7 bomb win31 errmsg cut remove erase legal
Keywords : kbformat
Issue type :
Technology :
|
Last Reviewed: November 4, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |