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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to store bmp using URLDownloadToFile from a URL ?

How to store bmp using URLDownloadToFile from a URL ?

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialcomquestion
4 Posts 3 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.
  • R Offline
    R Offline
    Rahul Vaishnav
    wrote on last edited by
    #1

    Hi all, I want to store bmp from urls by using URLDownloadToFile.. for example I want to store urlicon of www.yahoo.com by using http://www.google.com/s2/favicons?domain=www.yahoo.com This url gives me the Yahoo icon. Now I want to store this so I have used URLDownloadToFile, and It get stored also . but by using LoadImage, I couldn't load this stored image. Please suggest me solution or some other way of downloading fevicons of urls. Thanks in advance. :(

    H M R 3 Replies Last reply
    0
    • R Rahul Vaishnav

      Hi all, I want to store bmp from urls by using URLDownloadToFile.. for example I want to store urlicon of www.yahoo.com by using http://www.google.com/s2/favicons?domain=www.yahoo.com This url gives me the Yahoo icon. Now I want to store this so I have used URLDownloadToFile, and It get stored also . but by using LoadImage, I couldn't load this stored image. Please suggest me solution or some other way of downloading fevicons of urls. Thanks in advance. :(

      H Offline
      H Offline
      Hamid Taebi
      wrote on last edited by
      #2

      I dont know you asked this question previous or no but you must be extract controls on the web page and on the codeproject we have a simple for it.

      1 Reply Last reply
      0
      • R Rahul Vaishnav

        Hi all, I want to store bmp from urls by using URLDownloadToFile.. for example I want to store urlicon of www.yahoo.com by using http://www.google.com/s2/favicons?domain=www.yahoo.com This url gives me the Yahoo icon. Now I want to store this so I have used URLDownloadToFile, and It get stored also . but by using LoadImage, I couldn't load this stored image. Please suggest me solution or some other way of downloading fevicons of urls. Thanks in advance. :(

        M Offline
        M Offline
        Michael Dunn
        wrote on last edited by
        #3

        What error is LoadImage() returning?

        --Mike-- Visual C++ MVP :cool: LINKS~! CP SearchBar v3.0 | C++ Forum FAQ I work for Keyser Söze

        1 Reply Last reply
        0
        • R Rahul Vaishnav

          Hi all, I want to store bmp from urls by using URLDownloadToFile.. for example I want to store urlicon of www.yahoo.com by using http://www.google.com/s2/favicons?domain=www.yahoo.com This url gives me the Yahoo icon. Now I want to store this so I have used URLDownloadToFile, and It get stored also . but by using LoadImage, I couldn't load this stored image. Please suggest me solution or some other way of downloading fevicons of urls. Thanks in advance. :(

          R Offline
          R Offline
          Rahul Vaishnav
          wrote on last edited by
          #4

          Thanks for reply.. I have resolved the problem. Sorry for delay in reply..

          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