Is there a way where in any imagecombobox and a webbrowser on any site im in it can detect where the favicon is stored and set the imagecombo icon to the webpage's favicon?
Printable View
Is there a way where in any imagecombobox and a webbrowser on any site im in it can detect where the favicon is stored and set the imagecombo icon to the webpage's favicon?
You could read the webpage you have loaded in your browser for the location.
What if the browser is at the page :
How is it going to get the location if the icon is stored at www.vbforums.com/favicon.ico?vb Code:
http://www.vbforums.com/showthread.php?t=546230
If you are viewing the page in your browser control, just parse out the element(s) you desire. If it doesnt exist in the page then use the domain name to look in the temporary internet files folder but if its expired it will no longer be in there as it will be deleted..
Can you give me an example as this is done?
Couple of examples of mine in this thread - http://www.vbforums.com/showthread.php?t=330341
Shows how to get elements of a page.