Any way to specify the icon for an HTML file?

I wonder if there is a way to show a different icon (other than the default I.E. icon) when adding a desktop shortcut to my HTML file?

Of course, when I click on the icon I need IE to open my HTML file.

thanks,
newbieweb
newbiewebSr. Software EngineerAsked:
Who is Participating?
 
resdConnect With a Mentor Commented:
The problem is the installer program should allow you to use an icon of your choice. The program you created has an html extension, that is why windows is setting the icon. Will the software allow you to change the program desktop link to an exe file that will open an html file? The program I suggested creates and exe that will open any file you want. That way you can call a bat, html, or any other file you need. When you create the installer, the software asks for the file and the icon of your choice. Then it creates the windows installer and removal settings for your program.
0
 
resdCommented:
Hello

 Sure you can change the icon. Make the shortcut just as you have been doing. Then right click on the shortcut, click properties, web document, then click change icon. Select the icon of your choice. If you want more selections, click on the browse, find the system32 folder, then a file named moricons.dll. It will contain a lot of icons that you can use.
0
 
newbiewebSr. Software EngineerAuthor Commented:
I am configuring an excellent (and free) Seytup program creator called "Inno Setup", and I guess I would have to see if it can be configured to do that for me. So it needs to be automatic.

But I'd want my own icon.

Is that possible?
0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

 
resdCommented:
If I understand you correctly, you want to make a icon to use with a program that you are writing. The first question is, will the program Inno Setup software allow you to select an icon. If it will then do a Google search for icon creator programs. There are several that are free.
If that program will not, then I have used one that has worked great for me. It is at http://gammadyne.com.
It is not free, it cost $ 49.95 but it has created smaller exe packages and done everything I have needed.
0
 
newbiewebSr. Software EngineerAuthor Commented:
the installation program is not the problem.  but once the installation is complete I want my installd program to have a unique icon.  But it's an HTML file, and is therfore under the control of Windows.

I want IE to open when you double click on it.  But I'd rather have my own icon who on the desktop rather than the IE icon.

Something tells me it's not possible.
0
 
b0lsc0ttConnect With a Mentor IT ManagerCommented:
If you want the icon to be different for just one html page (actually a site) then use favicon.  There is some basic info on this at http://en.wikipedia.org/wiki/Favicon.  Let me know if this is what you want and you need more info.

bol
0
 
b0lsc0ttIT ManagerCommented:
Thanks for the grade, the points and the fun question.  I'm glad I could help.

bol
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.