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. Image

Image

Scheduled Pinned Locked Moved C / C++ / MFC
questiondatabase
4 Posts 3 Posters 1 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.
  • M Offline
    M Offline
    Mazdak
    wrote on last edited by
    #1

    My database has a Image field.How can I show each image in my application? Mazy **"If I go crazy then will you still Call me Superman If I’m alive and well, will you be There holding my hand I’ll keep you by my side with My superhuman might Kryptonite"**Kryptonite-3 Doors Down

    P 1 Reply Last reply
    0
    • M Mazdak

      My database has a Image field.How can I show each image in my application? Mazy **"If I go crazy then will you still Call me Superman If I’m alive and well, will you be There holding my hand I’ll keep you by my side with My superhuman might Kryptonite"**Kryptonite-3 Doors Down

      P Offline
      P Offline
      Prem Kumar
      wrote on last edited by
      #2

      what is your doubt ? Is it abt retrieving the image from the database or show the bitmap on the screen ? If it is abt the retrieving and assuming that you are using binary you can use the method GetChunk to read the binary data from the database. If abt the bitmap, there are a lot of articles here at CP.

      M 1 Reply Last reply
      0
      • P Prem Kumar

        what is your doubt ? Is it abt retrieving the image from the database or show the bitmap on the screen ? If it is abt the retrieving and assuming that you are using binary you can use the method GetChunk to read the binary data from the database. If abt the bitmap, there are a lot of articles here at CP.

        M Offline
        M Offline
        Mazdak
        wrote on last edited by
        #3

        Thanks for reply. Prem Kumar wrote: Is it abt retrieving the image from the database or show the bitmap on the screen ? What is abt? Prem Kumar wrote: If it is abt the retrieving and assuming that you are using binary you can use the method GetChunk to read the binary data from the database. My field is Image(OLE Object) and I think you are right.So I have to go and check those articles now. :) Mazy **"If I go crazy then will you still Call me Superman If I’m alive and well, will you be There holding my hand I’ll keep you by my side with My superhuman might Kryptonite"**Kryptonite-3 Doors Down

        B 1 Reply Last reply
        0
        • M Mazdak

          Thanks for reply. Prem Kumar wrote: Is it abt retrieving the image from the database or show the bitmap on the screen ? What is abt? Prem Kumar wrote: If it is abt the retrieving and assuming that you are using binary you can use the method GetChunk to read the binary data from the database. My field is Image(OLE Object) and I think you are right.So I have to go and check those articles now. :) Mazy **"If I go crazy then will you still Call me Superman If I’m alive and well, will you be There holding my hand I’ll keep you by my side with My superhuman might Kryptonite"**Kryptonite-3 Doors Down

          B Offline
          B Offline
          Brian Delahunty
          wrote on last edited by
          #4

          Mazdak wrote: What is abt? I'm guessing it means about :-)


          "When a friend hurts us, we should write it down in the sand, where the winds of forgiveness get in charge of erasing it away, and when something great happens, we should engrave it in the stone of the memory of the heart, where no wind can erase it" Nish on life [methinks] "It's The Soapbox; topics are optional" Shog 9

          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