Getting the Favicon, internet controls
I am working on a browser, and I would like to display the favicon for the current site next to the address text box...
is there a function in the internet controls that will do this for me?
or will I have to parse the favicon, download it, and display it?
Re: Getting the Favicon, internet controls
Well, since the favicon is normally saved like this: www.thesite.com/favicon.ico
You could just download the image and have it displayed in a picture box, directly to the side of the web browser, using only a few lines of code.
Re: Getting the Favicon, internet controls
how are you making the browser?
really from base off, or are you using the web browser object?
if you could get the ip address for each page, it would be as easy as sending a http request.
Re: Getting the Favicon, internet controls
Re: Getting the Favicon, internet controls
I think k0zz means that you look for and determine if the http://www.site.com/favicon.ico file exists, and if it does, downloads it onto the user's computer and shows a basic picturebox or something to that effect that shows the favicon.
If the favicon.ico file does not exist, then it just shows the browser icon
Re: Getting the Favicon, internet controls
Yeah, thats what I was getting at.