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. Visual Basic
  4. Picture in Database

Picture in Database

Scheduled Pinned Locked Moved Visual Basic
databasequestionsql-serversysadmin
5 Posts 4 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.
  • A Offline
    A Offline
    aransiola
    wrote on last edited by
    #1

    Someone to help me with a vb6 code that can save Picture into an access/SQL Server database. Presently i save the Picture Path as a string inside the database table but i want the actual picture to be saved as part of the table. What is the implication of saving picture inside access table? t.aransiola

    M D K 3 Replies Last reply
    0
    • A aransiola

      Someone to help me with a vb6 code that can save Picture into an access/SQL Server database. Presently i save the Picture Path as a string inside the database table but i want the actual picture to be saved as part of the table. What is the implication of saving picture inside access table? t.aransiola

      M Offline
      M Offline
      mbuller
      wrote on last edited by
      #2

      Not Sure on the implication or the how to do the above task... what are you trying to use this picture int he database for? I might have a few Ideas on how to accomplish the same thing without the hastle of figuring this out. Michael

      A 1 Reply Last reply
      0
      • M mbuller

        Not Sure on the implication or the how to do the above task... what are you trying to use this picture int he database for? I might have a few Ideas on how to accomplish the same thing without the hastle of figuring this out. Michael

        A Offline
        A Offline
        aransiola
        wrote on last edited by
        #3

        i want to save the picture inside the database because saving the picture using the picture filename, once the picture filename or pathname is tampered with the picture will not show on my vb form i have done this in vb.net 2003 and is working, is just that i have a vb6 application that i want to do the same thanks t.aransiola

        1 Reply Last reply
        0
        • A aransiola

          Someone to help me with a vb6 code that can save Picture into an access/SQL Server database. Presently i save the Picture Path as a string inside the database table but i want the actual picture to be saved as part of the table. What is the implication of saving picture inside access table? t.aransiola

          D Offline
          D Offline
          Dave Sexton
          wrote on last edited by
          #4

          Search for BLOB's at www.msdn.microsoft.com. I'd do it for you but I'm here on my mobile :( I've had the same question before and that's the answer I got.

          1 Reply Last reply
          0
          • A aransiola

            Someone to help me with a vb6 code that can save Picture into an access/SQL Server database. Presently i save the Picture Path as a string inside the database table but i want the actual picture to be saved as part of the table. What is the implication of saving picture inside access table? t.aransiola

            K Offline
            K Offline
            karansharma
            wrote on last edited by
            #5

            i dont know how to do it in vb but in vb.net if u want to store picture in Sql or access , u first have to convert ur picture in binary format , then store it in sql / access in [image] field. and to vice-versa to show in ur form.This is all u have to do to store pics in database. I think it works for u .

            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