Inserting images into SQL7 using VB6

I am trying to insert (and retrive) image into SQL Server 7.

I have found some examples of how to do this, however it seems I need aTypeLib that I cannot find....  typelib with the IStream and IPersistStream Interfaces
Any idea where I can dload this??

Or an alternate method for insertng my images with Sample code?

Thanks....
LVL 2
ExtremeFitnessAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

vinnyd79Commented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ExtremeFitnessAuthor Commented:
Perfect!!!!

Now do you know if there is a way I can insert the pic from the DB directly to an Imgbox or picbox etc???
0
vinnyd79Commented:
Yes. After opening the recordset set the PictureBox's Datasource and DataField:

Set Picture1.Datasource = rs
Picture1.DataField = "YourFieldName"
0
ExtremeFitnessAuthor Commented:
Thanks.....
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.