Share Violation When Opening Included File in Windows Notepad

Last reviewed: July 30, 1997
Article ID: Q78794
The information in this article applies to:
  • Microsoft Word for Windows, versions 1.0, 1.1, 1.1a, 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c

SUMMARY

If you attempt to open a file in Windows Notepad that is included in a Microsoft Word for Windows document while that Word document is open, a sharing violation occurs. If the Word document is not open, this error does not occur. This problem occurs when the file is linked and when it is not linked.

This problem was corrected in Word version 6.0 for Windows.

MORE INFORMATION

Most other Microsoft applications (for example, Windows Write, Works for Windows, and Word for MS-DOS) allow you to open the included file in Windows Notepad while the Word document is open without receiving a sharing violation.

Workaround

Close the Word for Windows document, and open the text file in Notepad. You can then edit and save the Notepad file. If the text file was linked, the Word document will update without generating a sharing violation.

Steps to Reproduce Problem

  1. From the Word for Windows Insert menu, choose File.

  2. Select a text file, and check the Link to File option (select the Link option in version 1.x), and choose the OK button.

    Note: Choosing Link is not necessary to reproduce the problem.

  3. Start Windows Notepad.

  4. From the Notepad File menu, choose Open, and select the text file used in step 2. A share violation errors.

Reference(s):

"Microsoft Word for Windows User's Reference," version 1.x, pages 119, 161-162, 167

"Microsoft Word for Windows User's Guide," version 2.0, page 68


KBCategory: kbother
KBSubcategory:
Additional query words: winword winword2
linked read only import 1.0 1.0
1.1 1.10 1.10a 1.1a 2.0 2.0 2.0a 2.0a 2.0b 2.0a-CD 2.0b 2.0a-CD


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 30, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.