• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 154
  • Last Modified:

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
0
newbieweb
Asked:
newbieweb
  • 3
  • 2
  • 2
2 Solutions
 
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
 
newbiewebAuthor 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
 
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
newbiewebAuthor 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
 
resdCommented:
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
 
b0lsc0ttCommented:
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
 
b0lsc0ttCommented:
Thanks for the grade, the points and the fun question.  I'm glad I could help.

bol
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now