By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,872 Members | 2,333 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,872 IT Pros & Developers. It's quick & easy.

Storing Pictures in Access Database

P: 3
Dear All,

Pls give some idea about storing and retriving images in a MS-
Access database using VB6.


Thanks

Sourabh
May 3 '07 #1
Share this Question
Share on Google+
2 Replies


markmcgookin
Expert 100+
P: 648
Dear All,

Pls give some idea about storing and retriving images in a MS-
Access database using VB6.


Thanks

Sourabh
Hi,

When i store images, I find that naming them relative to the Primary Keys of the items in your db is useful, then you can have an image path

i.e. Dim path as String = C:\My Documents\Images\

and if all your images are called 001.jpg (corrosponding to 001 PK)

you can then do something like

bitmap.imagepath = path + pk + ".jpg"

or something along those lines
May 3 '07 #2

Expert 5K+
P: 8,434
I think this topic has been covered before, so try using the Search box up the top of the page.
May 3 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.