Microsoft KB Archive/309527

= WD2002: When You Open Word Web Page in Internet Explorer, Print Dialog Box Appears and Word Quits =

Article ID: 309527

Article Last Modified on 7/27/2006

-

APPLIES TO


 * Microsoft Word 2002 Standard Edition, when used with:
 * Microsoft Windows XP Professional

-



This article was previously published under Q309527





SYMPTOMS
When you do the following
 * 1) Use Microsoft Internet Explorer to open a Web page that was created in Microsoft Word.
 * 2) Click Edit with Microsoft Word.

the following events occur:
 * 1) The document opens in Word.
 * 2) The Print dialog box opens.

When you then click OK, Cancel, or Close to close the Print dialog box, Word quits.



CAUSE
When you install Microsoft Office XP by using the Add or Remove Programs option in Control Panel, the Edit key in the Windows registry that allows Word to edit Hypertext Markup Language (HTML) files is not written. As a result, when you attempt to edit an HTML file in Word, the PrintWithOptions registry key is read instead. This causes the Print dialog box to open when you open the HTML file in Word from Internet Explorer.

When the PrintWithOptions key is used to open Word, Word only opens to print the file. Therefore, when you close the Print dialog box, Word quits.



WORKAROUND
To work around this problem, use one of the following methods.

Method 1: Open the Document in Word
Open the Word document directly in Word. To do this, follow these steps:
 * 1) Start Word.
 * 2) On the File menu, click Open.
 * 3) In the Open dialog box, select the Word document that you want to open, or type the full path to the document in the File name box, and then click Open.

Method 2: Register the Msohtmed.exe File
To complete the correct registration of Word in the Windows registry, follow these steps:  Quit all Windows programs. Click Start and then click Run. In the Run dialog box, click Browse. Browse to the following folder:

C:\Program Files\Microsoft Office\Office10

 In the Office10 folder, select Msohtmed.exe and then click Open. In the Run dialog box, click in the Open box, and then move the insertion point to the end of the path. After the final quotation mark, type /regserver.

NOTE: The path in the Open box should now look similar to the following example:

&quot;C:\Program Files\Microsoft Office\Office10\MSOHTMED.EXE&quot; /regserver

</li> Click OK.

NOTE: There will be no visual indication that the command completed correctly.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Additional query words: XP WD2002

Keywords: kbbug KB309527

-

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

© Microsoft Corporation. All rights reserved.