Results 1 to 21 of 21

Thread: Saving images, and more, to a database

Threaded View

  1. #1

    Thread Starter
    Frenzied Member aikidokid's Avatar
    Join Date
    Aug 2002
    Location
    Bristol, UK
    Posts
    1,968

    Resolved Saving images, and more, to a database

    I have gone through Beacons tutorial on how to add images to a database.
    I have it all working as he describes.

    What I would like to do, is to be able to add MS Word documents to a database.

    I added this code to the common dialog code in Beacons tutorial:
    vb Code:
    1. .Filter = "Picture Files (*.doc, *.gif, *.jpg) |*.doc; *.gif; *.jpg"
    Which lets me select a .doc file, but when I try to save it I get the error:

    Unable to bind to field or DataMember: 'Picture'

    Picture is the name of the field that stores the actual image.

    Has anybody done this with a word document before?
    Last edited by aikidokid; Apr 25th, 2007 at 01:19 PM.
    If somebody helps you, take time to RATE the post. I do.

    "FAILURE IS NOT AN OPTION. It comes bundled with the software."

    Below are some of the threads that have helped me along the way:

    CodeBank submission:
    Listview Backcolor (without subclassing)

    Loading Treeview Nodes From A Database, Creating Registry Keys, Count Number of Lines in TextBox , Excellent RichTextBox Tricks & Tips
    Ideas & Screen Shots For A Code Library App
    How to do Data validation in Excel, Conditional Formating in Excel

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width