|
-
December 8th, 1999, 10:24 AM
#1
How to insert JPG into database
Hi all,
I'm building an application that will store JPG's. Using ADO how can I affect the OLE Object field in my Access database with the content of a JPG. In other words I want to be able, once the JPG stored into the database, to view the JPG directly from the database without it being on a drive somewhere. I'ved structured my database with an OLE Object field. Is this the right kind of data field? If not what is the right one to use? Can anyone help me please.
Thanks,
Miguel
-
December 8th, 1999, 02:00 PM
#2
Re: How to insert JPG into database
If you look on this site under database / ado you'll find a link to the MSDN article for using GetChunk and AppendChunk with ADO.
You'll need to store the JPG locally once you've retrieved it from the database (unless you want to really get complicated).
Look here : http://codeguru.developer.com/vb/Dat...DO/index.shtml
Chris Eastwood
CodeGuru - the website for developers
http://codeguru.developer.com/vb
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|