Notepad crashes when I perform a Save As followed by Enter key


  1. Posts : 38
    Windows 7 Professional x64
       #1

    Notepad crashes when I perform a Save As followed by Enter key


    A few weeks ago I changed the file association for .html files to open with Notepad (instead of IE) and since then I have noticed that often when I perform a Save As action in Notepad (on an .html file) and then press the Enter key (as opposed to the Save button) Notepad "stops working" and generates the following message:

    Problem Event Name: APPCRASH
    Application Name: NOTEPAD.EXE
    Application Version: 6.1.7600.16385
    Application Timestamp: 4a5bc9b3
    Fault Module Name: SHELL32.dll
    Fault Module Version: 6.1.7601.17514
    Fault Module Timestamp: 4ce7c9a6
    Exception Code: c0000005
    Exception Offset: 000000000009a749
    OS Version: 6.1.7601.2.1.0.256.48
    Locale ID: 1033
    Additional Information 1: f922
    Additional Information 2: f922ad710d39d1f04b5027ff61f673a8
    Additional Information 3: 18ef
    Additional Information 4: 18efcb8a16274a1dd69a2430a38eab69

    Note that I used a program called Default Programs Editor to make the change. Has anyone seen anything like this? Is there a way to reinstall Notepad independently? In every other way Notepad works fine.

    PS: As for the reason I used a third party app to change the default program, I tried to do it "normally" but it wasn't sticking. But I realized after that the reason it wasn't sticking is because that change somehow prompted IE to think it wasn't the default browser, and when the message came out asking me if I wanted to make IE the default browser, it undid the file association to Notepad. I only realized this after the fact.

    Thank you!
    Last edited by HandsomeP; 11 Oct 2011 at 21:38. Reason: Correction
      My Computer


  2. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
       #2

    Hello HandsomeP,

    You might see if downloading and merging the HTML option in the tutorial below may be able to help by restoring the default associations for .html files.

    Default File Type Associations - Restore

    Hope this helps,
    Shawn
      My Computer


  3. Posts : 38
    Windows 7 Professional x64
    Thread Starter
       #3

    Thank you, that looks very interesting. I had another idea shortly after the post, I used the same third party app that I used to initially make the changes (Default Programs Editor) to change them back, in essence by copying all the entries for the .htm extension to the .html extension. I'll see how that works out. If there are still problems, I will follow the link above.
      My Computer


  4. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
       #4

    You're welcome. Please let us know how it goes. :)
      My Computer


  5. Posts : 38
    Windows 7 Professional x64
    Thread Starter
       #5

    Happened again, my fix didn't stick. I tried your suggestion and clicked on registry entry to restore file associations for .html, but to no avail. The peculiar thing is that there are strange ways to make the error go away (sometimes anyway). For example, just now I was working on A.html. When I tried to save it as B.html, Notepad crashed. If I reopen A.html and try to save it as B.html the same thing happens (and will continue happening). I tried your suggestion, then repeated the process, still the same result. Then I tried opening C.html and was able to save it as D.html. After that point I am able to open A.html and save it as B.html. Even when pressing the Enter key (as opposed to the Save button) which seems to be what crashes Notepad. So far so good again. Strange...
      My Computer


  6. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
       #6

    Well, the next step would be to see if running a sfc /scannow command may be able to fix any possible corrupted system files that may be at fault.

    If this still does not help, then you could do a system restore using a restore point (if available) dated before this happened to undo it.

    If it's still a no go, then as a test create a new administrator account to see how it works while logged in the new account.
      My Computer


  7. Posts : 748
    Vista and now 7 in 32 and 64 bit.
       #7

    I have had the problem from time to time. I am an experimenter so, in my case, I found restoring an earlier (Acronis) image did the trick. Othet than that I failed on all counts to get notepad working again.
    In the end, I installed EditPad lite, which is, in any case, a superior program. Works like a charm!

    But, to the point, I suspected the original fault has something to do with the use of Ccleaner. Since the problem started, I have twice upgraded Ccleaner to a later version and (I think!) the problem has gone away.
    Last edited by davehc; 13 Oct 2011 at 05:19.
      My Computer


  8. Posts : 38
    Windows 7 Professional x64
    Thread Starter
       #8

    Yeah, I have Ccleaner installed as well as Advanced System Care 4. I'm always afraid to press enter when they find registry entries that they suggest deleting. I dunno, you'd think they have no problem with a straightforward program like Notepad. Won't point the finger at these just yet as I do a lot of experimenting and tweaking myself, but I'll keep them in mind as possible culprits... I have Notepad++ installed which is also really great-looking, I'm such a creature of habit though, it's hard to break the habit of my old friend Notepad.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:16.
Find Us