Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. logo identity near url ( windows app )

logo identity near url ( windows app )

Scheduled Pinned Locked Moved C#
question
15 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Krishna Varadharajan

    Hi, Hi in my webbrowser application, How can i display a logo of a particular web url of the site.....next to the url in the browser. while i browse a url in webbrowser control i want to display a particular logo of that respective url. Thanks

    krishna

    L Offline
    L Offline
    Luc Pattyn
    wrote on last edited by
    #2

    you asked the same question 2 days ago. :|

    Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

    Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.

    K 1 Reply Last reply
    0
    • K Krishna Varadharajan

      Hi, Hi in my webbrowser application, How can i display a logo of a particular web url of the site.....next to the url in the browser. while i browse a url in webbrowser control i want to display a particular logo of that respective url. Thanks

      krishna

      R Offline
      R Offline
      R Giskard Reventlov
      wrote on last edited by
      #3

      Do you mean favicon? start here: Favicon generator and Gallery[^].

      "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

      K 1 Reply Last reply
      0
      • L Luc Pattyn

        you asked the same question 2 days ago. :|

        Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

        Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.

        K Offline
        K Offline
        Krishna Varadharajan
        wrote on last edited by
        #4

        Yes i asked 2days before...but i dint get any reply from your side....thts the reason i posted again.

        krishna

        RaviBeeR 1 Reply Last reply
        0
        • R R Giskard Reventlov

          Do you mean favicon? start here: Favicon generator and Gallery[^].

          "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

          K Offline
          K Offline
          Krishna Varadharajan
          wrote on last edited by
          #5

          Thanks for your reply....i dont want to create a favicon. I have done a webbrowser project in c#.net windows application. So i must be having browser control in my webbrowser project. If i type google.com i want to display the favicon image next to the url....what ever website if i browse respective favicon of that perticular website to get displayed in next to the url. Like how you can view in mozilla or any other browsers. you can view. Hope you can understood.

          krishna

          B 1 Reply Last reply
          0
          • K Krishna Varadharajan

            Thanks for your reply....i dont want to create a favicon. I have done a webbrowser project in c#.net windows application. So i must be having browser control in my webbrowser project. If i type google.com i want to display the favicon image next to the url....what ever website if i browse respective favicon of that perticular website to get displayed in next to the url. Like how you can view in mozilla or any other browsers. you can view. Hope you can understood.

            krishna

            B Offline
            B Offline
            Baconbutty
            wrote on last edited by
            #6

            Won't this do what you want to do? http://www.htmlbasix.com/favicon.shtml[^] In general I wish people would try looking for themselves before demanding a solution.

            T 1 Reply Last reply
            0
            • B Baconbutty

              Won't this do what you want to do? http://www.htmlbasix.com/favicon.shtml[^] In general I wish people would try looking for themselves before demanding a solution.

              T Offline
              T Offline
              T M Gray
              wrote on last edited by
              #7

              You might try reading the question again. He is not asking how to create a favicon. He is asking how to display the favicon in his browser control.

              1 Reply Last reply
              0
              • K Krishna Varadharajan

                Hi, Hi in my webbrowser application, How can i display a logo of a particular web url of the site.....next to the url in the browser. while i browse a url in webbrowser control i want to display a particular logo of that respective url. Thanks

                krishna

                T Offline
                T Offline
                T M Gray
                wrote on last edited by
                #8

                Whenever you make a request with your control do another request for favicon.ico. If that request returns a 404 then obviously there is no icon, if it returns the image, you should probably be able to use a System.Drawing.Icon object to hold it.

                RaviBeeR 1 Reply Last reply
                0
                • K Krishna Varadharajan

                  Yes i asked 2days before...but i dint get any reply from your side....thts the reason i posted again.

                  krishna

                  RaviBeeR Offline
                  RaviBeeR Offline
                  RaviBee
                  wrote on last edited by
                  #9

                  Nonsense.  I answered your question 10 hours after it was posted. /ravi

                  My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                  OriginalGriffO 1 Reply Last reply
                  0
                  • T T M Gray

                    Whenever you make a request with your control do another request for favicon.ico. If that request returns a 404 then obviously there is no icon, if it returns the image, you should probably be able to use a System.Drawing.Icon object to hold it.

                    RaviBeeR Offline
                    RaviBeeR Offline
                    RaviBee
                    wrote on last edited by
                    #10

                    T M Gray wrote:

                    If that request returns a 404 then obviously there is no icon,

                    Not really.  A favicon can also be specified in a meta tag.  If the OP had bothered to read my original response he would've known this. /ravi

                    My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                    K 1 Reply Last reply
                    0
                    • RaviBeeR RaviBee

                      Nonsense.  I answered your question 10 hours after it was posted. /ravi

                      My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                      OriginalGriffO Offline
                      OriginalGriffO Offline
                      OriginalGriff
                      wrote on last edited by
                      #11

                      Yes, but you used words he didn't understand. Like "meta" and "tag". Oh, and you completely forgot to code it for him! :laugh:

                      Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

                      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                      RaviBeeR 1 Reply Last reply
                      0
                      • OriginalGriffO OriginalGriff

                        Yes, but you used words he didn't understand. Like "meta" and "tag". Oh, and you completely forgot to code it for him! :laugh:

                        Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

                        RaviBeeR Offline
                        RaviBeeR Offline
                        RaviBee
                        wrote on last edited by
                        #12

                        Heh.  :) Seriously though, if he said he didn't understand what a meta tag was I would've steered him along the right path.  Imho, there are too many "developers" @ CP's forums looking for a free handout.  We'd only be doing them a disservice by writing their urgent codez. /ravi

                        My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                        1 Reply Last reply
                        0
                        • RaviBeeR RaviBee

                          T M Gray wrote:

                          If that request returns a 404 then obviously there is no icon,

                          Not really.  A favicon can also be specified in a meta tag.  If the OP had bothered to read my original response he would've known this. /ravi

                          My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                          K Offline
                          K Offline
                          Krishna Varadharajan
                          wrote on last edited by
                          #13

                          Hey guys.... So atlast what is the solution for this... :doh:

                          krishna

                          RaviBeeR 1 Reply Last reply
                          0
                          • K Krishna Varadharajan

                            Hey guys.... So atlast what is the solution for this... :doh:

                            krishna

                            RaviBeeR Offline
                            RaviBeeR Offline
                            RaviBee
                            wrote on last edited by
                            #14

                            I'll try to explain it in simpler terms: A site's icon is either the file favicon.ico located at the site's root, or (if the file doesn't exist), the icon file referenced in a meta tag in the page's HTML. So try to retrieve the favicon.ico file; if your attempt fails with a 404 (file not found status), read the HTML of the page in question and look for the meta tag that specifies the alternate location of the icon file. If none of this makes any sense, you may have taken on a task that's beyond your (current) ability.  I'm not trying to be snide - just honest.  If you have specific questions on how to do this, feel free to ask.  We'll try and help you as much as we can.  But if you're looking for someone to give you a bunch of code that you can just stick into your app, you're wasting your time. Thanks, /ravi

                            My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                            K 1 Reply Last reply
                            0
                            • RaviBeeR RaviBee

                              I'll try to explain it in simpler terms: A site's icon is either the file favicon.ico located at the site's root, or (if the file doesn't exist), the icon file referenced in a meta tag in the page's HTML. So try to retrieve the favicon.ico file; if your attempt fails with a 404 (file not found status), read the HTML of the page in question and look for the meta tag that specifies the alternate location of the icon file. If none of this makes any sense, you may have taken on a task that's beyond your (current) ability.  I'm not trying to be snide - just honest.  If you have specific questions on how to do this, feel free to ask.  We'll try and help you as much as we can.  But if you're looking for someone to give you a bunch of code that you can just stick into your app, you're wasting your time. Thanks, /ravi

                              My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                              K Offline
                              K Offline
                              Krishna Varadharajan
                              wrote on last edited by
                              #15

                              Thanks

                              krishna

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups