5,699,997 members and growing! (12,122 online)
Email Password   helpLost your password?
Languages » C / C++ Language » General     Intermediate

FavIconizer

By SteveKing

A small utility which refreshes the icons in your IE favorites menu
VC7, C++Windows, NT4, Win2K, WinXP, MFC, VS.NET2002, Visual Studio, Dev

Posted: 22 Mar 2003
Updated: 13 May 2003
Views: 131,691
Bookmarked: 54 times
Announcements
Loading...



Search    
Advanced Search
Sitemap
57 votes for this Article.
Popularity: 8.22 Rating: 4.68 out of 5
2 votes, 3.5%
1
1 vote, 1.8%
2
1 vote, 1.8%
3
7 votes, 12.3%
4
46 votes, 80.7%
5

Sample screenshot

Introduction

If you use Internet Explorer for browsing the web then you know that for some links you add to your favorites there's an icon indicating the webpage (e.g. CP has an orange icon with bob on it). But after a while those icons get replaced with the standard web icon again 'cause IE stores them in the web cache which gets cleaned up according to your settings.

I searched the web for a program which would let me store those icons in a safe place so they won't get lost again. Then I found Favorg. This program did the trick. But it was a little bit more than what I needed. Also, it doesn't check for the html tag <LINK REL="SHORTCUT ICON" HREF=link_to_favicon> but only gets the icon if it is in the root of the website and called favicon.ico.
Another thing that I didn't like was that it stored the icons in its program folder. Sure you could change that location but I always had to try several times until it worked. And what happens if you zip your favorites folder and move it to another computer? The icons are lost! And IE doesn't show the usual icon for them but an ugly white one.
Also, it seems that pcmag changed the download so that you need now a subscription for that.

So I decided to write my own program which fetches the icons for every link in the favorites folder. It also stores those icons in the favorites folder by creating a new subfolder and changing the attribute to 'hidden'. That way the folder for those icons doesn't show up in the favorites menu (even if you set "show hidden files/folders" in your settings).

To use the tool simply start it and hit the "start" button. Then wait a while. After the program finished you'll have all the nice icons restored - at least for those links which the website offers icons.

Updates

06.05.03: fixed small bug
01.04.03: recognizes now the tag <link rel="icon" href="http://test.com/favicon.ico">http://test.com/favicon.ico type="image/ico">
25.03.03: while retreiving the info cookies are disabled (for IE6)
14.05.03: updated source and downloads

 

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

SteveKing


---
Occupation: Software Developer
Location: Switzerland Switzerland

Other popular C / C++ Language articles:

Article Top
Sign Up to vote for this article
You must Sign In to use this message board.
FAQ FAQ Noise ToleranceSearch Search Messages 
 Layout  Per page   
 Msgs 1 to 25 of 64 (Total in Forum: 64) (Refresh)FirstPrevNext
Questionfaviconizer & firefoxmemberblondeel4:03 25 Feb '08  
Generalwhat about FireFox?memberIlan_G13:32 3 Oct '07  
GeneralDoes it work for updating the icons on IE 7.0 ?memberpontusa22:25 21 Dec '06  
GeneralInstallationmemberrogerstopp10:01 1 Mar '06  
GeneralDidn't seem to find any!memberDavid Tyler4:53 5 Feb '06  
NewsQuick Launch iconsmemberfacorreia3:57 17 Oct '05  
GeneralThankyou & Commentsmembersaishoman2:50 17 Sep '05  
GeneralFaviconizermembercjf2000012:44 27 Aug '05  
GeneralQuestions re Download choices & Uninstallmembercodebuff1:34 7 Jun '05  
GeneralStarting FaviconizermemberAnn Little9:51 28 Mar '05  
GeneralRe: Starting Faviconizermemberredlane6517:11 5 Apr '05  
GeneralRe: Starting Faviconizermemberexxoncruise20:30 2 May '05  
GeneralRe: Starting FaviconizermemberSvensken13:53 30 Oct '05  
GeneralFaviconizer rocks!memberbtorrean20:18 4 Mar '05  
GeneralFavicon needs a nudge to the right, is there a fix?memberMikeSouper5:18 22 Jan '05  
GeneralMisses Some FavIconsmemberNOYBNOYB11:55 16 Jan '05  
GeneralRe: Misses Some FavIconsmemberpontusa23:38 10 May '05  
GeneralQuestionmemberButch Pa6:00 15 Jan '05  
GeneralRe: QuestionmemberSteveKing6:21 15 Jan '05  
Generalyou rock!memberPyro Joe17:03 29 Dec '04  
GeneralChange _icons locationsussAnonymous17:10 28 Oct '04  
GeneralJust Another Thank You!sussthe_bull1:11 9 Oct '04  
GeneralWin98SE...GPF after 160 links processedmemberHonk4517:19 27 Sep '04  
GeneralRe: Win98SE...GPF after 160 links processedmemberGingkoBiloba11:12 9 Dec '05  
GeneralFavIconizer ultracooolmemberHonk4515:39 23 Sep '04  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 13 May 2003
Editor: Nishant Sivakumar
Copyright 2003 by SteveKing
Everything else Copyright © CodeProject, 1999-2008
Web17 | Advertise on the Code Project