How to redefine HTMLPad as IE's source editor?

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
mmo
Posts: 17
Joined: Tue May 11, 2004 11:11 am

How to redefine HTMLPad as IE's source editor?

Post by mmo »

For some odd reason, when I want to open a Webpage's source I am getting the error message "Windows can not find 'htmlpad.exe'. Make sure you typed the name correctly and try again."

Strange enough, if I go to IE's Tools => Internet Options => Programs the dropdown list offers HTMLpad, Word and Notepad. But even un- and re-selecting HTMLpad doesn't fix that pointer. Apparently the path behind that dropdown entry is wrong.

How do I fix that so that HTMLpad can get properly called again?

Michael
User avatar
MikeyB
Top Contributor
Posts: 511
Joined: Fri Jun 09, 2006 10:38 am
Location: UK
Contact:

Re: How to redefine HTMLPad as IE's source editor?

Post by MikeyB »

Might be worth trying to change the setting within HTMLPad (I guess it's the same as WeBuilder)

Goto Options -> Preferences -> External Tools -> Integration.
In there you'll see the Replace Internet Explorer source viewer.

If it's already set, try un-ticking, saving and then going back in and turn it back on.

Mikey
mmo
Posts: 17
Joined: Tue May 11, 2004 11:11 am

Re: How to redefine HTMLPad as IE's source editor?

Post by mmo »

Did as instructed: Terminated IE. Started HTMLpad. Unticked that setting. OK-ed and then terminated HTMLpad (just in case). Restarted HTMLpad, ticked that setting. OK and termianted it again. Restarted IE, but still the same error.

Guess it's time to fire up the Registry-Editor and have a look...
Michael
mmo
Posts: 17
Joined: Tue May 11, 2004 11:11 am

Re: How to redefine HTMLPad as IE's source editor?

Post by mmo »

I found essentially three keys that looked relevant:
HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name
to contain a REG_SZ with value htmlpad.exe

There were also a few corresponding
HKEY_USERS\<some-uid>_Classes\VirtualStore\MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name

Furthermore I found
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Default HTML Editor\shell\edit\command
containing a REG_SZ with value "C:\Program Files\HTMLPad 2010\htmlpad.exe" "%1"

as well as
HKEY_CURRENT_USER\Software\Microsoft\Shared\HTML\Default Editor\shell\edit\command
containing a REG_SZ with value "C:\Program Files\HTMLPad 2010\htmlpad.exe" "%1"

But these all looked right to me. Really odd!

Michael
Post Reply