How do I change back the "icon" for HTML page?

X

xfile

Hi,

I recently tested our hosted web site using Dreamweaver and did not realize
until now that the little "icon" in front of the file name indicating which
program to open the file has been changed to Dreamweaver's icon.

Is there a way that I can change it back to the original default icon which
I believe is FrontPage.

Thanks in advance.
 
E

e.pricecut

Is there a way that I can change it back to the original default icon which
I believe is FrontPage.

Right mouse click on a file > Open With > Choose Program...

Find FrontPage in the list, check "Alway use this program to open these
files" and click OK
 
X

xfile

Hi,

Thanks for your kind reply.

First of all, apologize for the mistake and this is not for HTML files but
for "ASP" files.

Although I tried to find possible causes and solutions from the net and MS
KB without luck and did try the suggestion mentioned, the problem still
persisted.

However, I found something similar from the net and knew it has something to
do with the registries, so I used another computer's registry as a reference
and looked through this one to see anything has been changed.

In any case, the problem has finally been corrected, and I'd like to share
with everyone here so could be useful for the future.

Causes:

(1) According to what I've found from the net and own experiences, ASP file
association could be changed if you installed Adobe programs, such as
Photoshop (from the net and what I found from my own other system) and
Dreamweaver (this is what happened to me in this case). Sometime, the file
association icon won't be changed (to my other computer) and sometime it
will be changed (to the one I was having the problem).

Solution:

(1) The most determinant registry file for the icon, is this one:
HKEY_CLASSES_ROOT\aspfiles\DefaultIcon The value has been changed to
Dreamweaver. (Note: Just the icon. When I double-clicked the page, it will
still be opened by FrontPage). After cross-examined with another system, I
found the "original" value might be (since I don't know the one stored in
this system, so I can only assume it's the original one):
"C:\WINDOWS\Installer\{90170409-6000-11D3-8CFE-0150048383C9}\fpicon.exe,5"
(Note: without quote) as it is listed in other system's registry.

So I duplicated it to this system and refreshed the registry, and viola, I
got my icon back.

Please noted,

(1) In my case, the file association has been modified as well as the icon,
but when I double-clicked ASP pages, it will still be opened by FrontPage,

(2) I tried to change the file association from within Windows Explorer, it
won't work. That means the icon will still be displayed with Dreamweaver's
instead of FP. As of now, the file type from Windows Explorer is still
registered as Dreamweaver for the "default" program while FrontPage is the
program that I modified for the file type. That means if I clicked
"restore", it will jumped right back to Dreamweaver.

(3) I found a similar discussion from the net for which it is caused by the
installation of Photoshop, and OP only said the problem is finally solved
without giving too much of information.

In any case, hope this will help others in the future.
 
Top