Office 2003 and IE7


Recommended Posts

The icons for htm, html, mht and mhtml files are broken if you upgraded to IE7 with Office 2003 installed. It seems to be a problem with the msohev.dll file that puts the overlay on the icons when it sees it was created with word or excel, etc. All the icons show up as the plain IE7 icon and not the actual file icons. To fix this, you need to change the following keys:

HKEY_CLASSES_ROOT\htmlfile\DefaultIcon

Set (Default) to C:\Program Files\Internet Explorer\IEXPLORE.EXE,-17

HKEY_CLASSES_ROOT\mhtmlfile\DefaultIcon

Set (Default) to C:\Program Files\Internet Explorer\IEXPLORE.EXE,-32554

HKEY_CLASSES_ROOT\htmlfile\ShellEx\IconHandler

HKEY_CLASSES_ROOT\mhtmlfile\ShellEx\IconHandler

Rename the IconHandler key to IconHandler.bak and possibly rebuild your icon cache and you're done.

Please note this is only for those that have IE7 installed as a default browser, although the IconHandler tweak may benefit Firefox users aswell.

PS. Was going to add some nice .reg files, but it seems I'm not allowed to so here's their contents:

HTM Fix.reg

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\htmlfile\DefaultIcon]
@="C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE,-17"

[-HKEY_CLASSES_ROOT\htmlfile\ShellEx\IconHandler]

[HKEY_CLASSES_ROOT\htmlfile\ShellEx\IconHandler.bak]
@="{42042206-2D85-11D3-8CFF-005004838597}"

MHT Fix.reg

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\mhtmlfile\DefaultIcon]
@="C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE,-32554"

[-HKEY_CLASSES_ROOT\mhtmlfile\ShellEx\IconHandler]

[HKEY_CLASSES_ROOT\mhtmlfile\ShellEx\IconHandler.bak]
@="{42042206-2D85-11D3-8CFF-005004838597}"

Edited by BrainDedd
Link to comment
Share on other sites

  • 2 months later...
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.