CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 1999
    Posts
    16

    How to store images or sounds in database

    I want to store the following items in a table and retrieve a particular one.

    EmpID, EmpName, EmpPhoto

    How to store an image of the photo of employee?
    How to get the row of the employee corresponding to the given photo?

    Similarly, I want the code for storing Voice in table and method to retirve a
    particular row.

    Please send me the answer ASAS.

    regards,


    muralirajan

  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: How to store images or sounds in database

    images and sounds can be treated as files (.bmp, .wav...). you can store those items in image or text fields of your database using AppendChunk (DAO/ADO). To read those values use GetChunk.


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

Featured