Default HTML Editor in HTML editor dropdown list of IE

This forum is user-to-user based and not regularly monitored by IDM.
Please see the note at the top of this page on how to contact IDM.

Default HTML Editor in HTML editor dropdown list of IE

Postby fatkinson » Thu Oct 19, 2006 11:49 am

This is a relatively minor issue, but I'd like to see how to fix it.
Recently, I was given the instructions to make Ultraedit the default HTML editor in Interet Explorer. When I click on 'View Source', Ultraedit now pops up with the HTML code for the page I am viewing at the time.
But I notice that when I click on 'Tools', 'Internet Options', and 'Programs' that the field showing what the default editor is supposed to be is blank. When I click the drop down, only Notepad (which I deleted from my PC anyway) is listed.
Is there a way I can make it show that Ultraedit is supposed to be the default editor?

Regards,

Fred
User avatar
fatkinson
Newbie
 
Posts: 2
Joined: Sat Jan 08, 2005 12:00 am

Re: Default HTML Editor in HTML editor dropdown list of IE

Postby Mofi » Thu Oct 19, 2006 4:23 pm

You have to create/edit following key in the registry

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name]
@="
C:\\Program Files\\UltraEdit\\uedit32.exe"

Adjust the path to uedit32.exe to your configuration. I copied this from my post at Copying to new PC. You can also use the forum search with the words internet explorer editor default to find other existing forum threads about UltraEdit as source viewer in Internet Explorer.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4056
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Default HTML Editor in HTML editor dropdown list of IE

Postby fatkinson » Thu Oct 19, 2006 4:56 pm

I believe that will make the editor come up, but that's not the problem. And the problem isn't very serious anyway. The default editor is blank (even though when I click on 'View Source') Ultraedit executes. I'm just trying to put the name in the drop down so it can be selected.

Regards,

Fred
User avatar
fatkinson
Newbie
 
Posts: 2
Joined: Sat Jan 08, 2005 12:00 am

Re: Default HTML Editor in HTML editor dropdown list of IE

Postby Mofi » Fri Oct 20, 2006 6:08 am

I did understand you, but yesterday it was late in the evening in Austria and I was too lazy to exactly determine which registry keys are necessary to show the UltraEdit program name in the Programs tab of the Internet Options of IE.

Here is what my IE6 added to the registry after I have deleted the whole key OpenWithList.

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.htm\OpenWithList]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.htm\OpenWithList\UltraEdit-32 Professional Text/Hex Editor]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.htm\OpenWithList\UltraEdit-32 Professional Text/Hex Editor\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.htm\OpenWithList\UltraEdit-32 Professional Text/Hex Editor\shell\edit]
@="&Edit"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.htm\OpenWithList\UltraEdit-32 Professional Text/Hex Editor\shell\edit\command]
@="\"
C:\\Programs\\UltraEd\\uedit32.exe\" \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.htm\OpenWithList\UltraEdit-32 Professional Text/Hex Editor\shell\edit\ddeexec]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.htm\OpenWithList\UltraEdit-32 Professional Text/Hex Editor\shell\edit\ddeexec\Application]
@="UltraEdit"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.htm\OpenWithList\UltraEdit-32 Professional Text/Hex Editor\shell\edit\ddeexec\Topic]
@="System"


Very interesting is that IE6 on next start and opening the Internet Options Programs tab again changes the OpenWithList settings by deleting some values and inserting/modifying other keys/values to:

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.htm\OpenWithList]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.htm\OpenWithList\uedit32.exe]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.htm\OpenWithList\UltraEdit-32 Professional Text/Hex Editor]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.htm\OpenWithList\UltraEdit-32 Professional Text/Hex Editor\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.htm\OpenWithList\UltraEdit-32 Professional Text/Hex Editor\shell\edit]


So I used Regmon from SysInternals with include filter set to include only uedit32;UltraEdit. In the attached file is the monitored Regmon protocol as CSV file with the comma as separator which shows what IE6 does to find the HTML editor UltraEdit-32 Professional Text/Hex Editor on my WinXP computer.

Download and unpack this CSV file and then double click on the file to open it with your preferred spreadsheet program (for example Excel) to better read it.

Or use the UltraEdit function Column - Convert to Fixed Column with following settings to convert the CSV file to something readable.

Scan First Line Only: checked
Keep Delimiter with Fixed Columns: unchecked
Ignore Separator in Quotes: checked
Ignore Separator in Double Quotes: checked
Separator Character: ,
Field Widths: 15,93,18,238
Attachments
ie6_html_editor.zip
Log of Regmon as IE6 searched for UltraEdit as HTML editor.
(1.06 KiB) Downloaded 52 times
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4056
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna


Return to UltraEdit General Discussion