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. Save binary files in Access DB (ADO)

Save binary files in Access DB (ADO)

Scheduled Pinned Locked Moved C / C++ / MFC
databasequestioncomgraphicshelp
3 Posts 2 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.
  • Y Offline
    Y Offline
    Yaelinka
    wrote on last edited by
    #1

    I need to store binary files in access database. i've tried with no success (yet) to create an interface between MS-Access table containing an "OLE Object" field type and my application. i thougt to reffer my binary files as Bitmap but still i couldn't load/save data to my DB table. any idea? is blob handling can help - how do i store blob? :rolleyes: Cheers, Yaeli

    S 1 Reply Last reply
    0
    • Y Yaelinka

      I need to store binary files in access database. i've tried with no success (yet) to create an interface between MS-Access table containing an "OLE Object" field type and my application. i thougt to reffer my binary files as Bitmap but still i couldn't load/save data to my DB table. any idea? is blob handling can help - how do i store blob? :rolleyes: Cheers, Yaeli

      S Offline
      S Offline
      Scozturk
      wrote on last edited by
      #2

      Hi! It may be a silly suggestion but why don't you read the file in binary mode and write everything in a field in the database? :~ Well... I am a beginner ...

      Y 1 Reply Last reply
      0
      • S Scozturk

        Hi! It may be a silly suggestion but why don't you read the file in binary mode and write everything in a field in the database? :~ Well... I am a beginner ...

        Y Offline
        Y Offline
        Yaelinka
        wrote on last edited by
        #3

        The maximum field size i have is (which is Memo field type) is several KB and it's textual, i need binary data storage.

        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