Microsoft KB Archive/110073

{|
 * width="100%"|

GP Fault with FilePrint Command in an AutoExec Macro

 * }

Q110073

-

The information in this article applies to:


 * Microsoft Word for Windows, version 6.0
 * Microsoft Windows 3.1

-

SYMPTOMS
Using the FilePrint or FilePrintDefault command in an AutoExec, AutoOpen, or Command Line macro causes the following general protection (GP) fault to appear when you start Word for Windows:

WinWord caused a General Protection Fault

in module: WINWORD.EXE at 00AE:6C75

Note: You can execute a macro from the Command Line property of an icon in Program Manager using the /m switch. Below is a sample command line that runs a macro named TheMacro:

"C:\WINWORD\WINWORD.EXE /MTheMacro C:\WINWORD\FILENAME.DOC"

STATUS
Microsoft has confirmed this to be a problem in Word for Windows. This problem was corrected in versions 6.0a and later of Word for Windows.

RESOLUTION
Remove FilePrint and/or FilPrintDefault from the AutoExec macro in NORMAL.DOT. Use the following procedure to edit the AutoExec macro:


 * 1) Close Word.
 * 2) In Program Manager, choose Run from the File menu.
 * 3) Type winword.exe /m and press ENTER. This command starts Word without executing the AutoExec macro.
 * 4) From the Tools menu, choose Macro, select AutoExec from the list box, and then choose Edit.
 * 5) Find the location of FilePrint and/or FilePrintDefault in the macro and remove these statements.
 * 6) From the File menu, choose Save All to save the results of your changes to AutoExec.

To obtain Word 6.0c, call the Microsoft Order Desk at (800) 360-7561 and request the Word 6.0c update. If you are outside the United States, contact your local subsidiary. To locate your subsidiary, see the Microsoft World Wide Offices Web site at:

"http://www.microsoft.com/worldwide/default.htm" Additional query words: 6.0 gpf custsales winword word6 6.0afixlist

Keywords : kbprint

Issue type :

Technology :