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. Visual Studio
  4. How to attach/save a file into msaccess db using vb 2005

How to attach/save a file into msaccess db using vb 2005

Scheduled Pinned Locked Moved Visual Studio
databasecomdata-structureshelptutorial
2 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.
  • N Offline
    N Offline
    Nouvand
    wrote on last edited by
    #1

    hi.. everybody.. hope you can help me with this thing. Do you have any idea, how to save a file into MS Access database using VB 2005? Here's the simple scheme of the table FieldName {Data Type} -------------------------- Date {Date} EmployeeID {Number/Integer} Attachment {OLE Object} -------------------------- I red the MSDN help, but still haven't any idea how to apply it into my case. Or should i make an array of bytes stream of the file and then store it into 'Attachment' field. But then how the to read and restore/create the file back?:sigh: Thanks before.. :-D

    L 1 Reply Last reply
    0
    • N Nouvand

      hi.. everybody.. hope you can help me with this thing. Do you have any idea, how to save a file into MS Access database using VB 2005? Here's the simple scheme of the table FieldName {Data Type} -------------------------- Date {Date} EmployeeID {Number/Integer} Attachment {OLE Object} -------------------------- I red the MSDN help, but still haven't any idea how to apply it into my case. Or should i make an array of bytes stream of the file and then store it into 'Attachment' field. But then how the to read and restore/create the file back?:sigh: Thanks before.. :-D

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      [^] Also do a search of Code Project Database Tutorials

      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